//Returns the ABI interface of specific contract. public IEnumerator GetABI(string chainAddressOrName, string contractName, Action <ABIContract> callback, Action <EPHANTASMA_SDK_ERROR_TYPE, string> errorHandlingCallback = null) { yield return(WebClient.RPCRequest(Host, "getABI", errorHandlingCallback, (node) => { var result = ABIContract.FromNode(node); callback(result); }, chainAddressOrName, contractName)); }
//Returns the ABI interface of specific contract. public void GetABI(string chainAddressOrName, string contractName, Action <ABIContract> callback, Action <EPHANTASMA_SDK_ERROR_TYPE, string> errorHandlingCallback = null) { _client.SendRequest(Host, "getABI", errorHandlingCallback, (node) => { var result = ABIContract.FromNode(node); callback(result); }, chainAddressOrName, contractName); }