-
Calls /v1/chain/get_info.
Declaration
Swift
func getInfoBase(completion: @escaping (EosioResult<EosioRpcInfoResponseProtocol, EosioError>) -> Void)
Parameters
completion
Completion called with an
EosioResult
. -
Calls /v1/chain/get_block_info.
Declaration
Swift
func getBlockInfoBase(requestParameters: EosioRpcBlockInfoRequest, completion: @escaping (EosioResult<EosioRpcBlockInfoResponseProtocol, EosioError>) -> Void)
Parameters
completion
Completion called with an
EosioResult
. -
Calls /v1/chain/get_raw_abi.
Declaration
Swift
func getRawAbiBase(requestParameters: EosioRpcRawAbiRequest, completion: @escaping (EosioResult<EosioRpcRawAbiResponseProtocol, EosioError>) -> Void)
Parameters
completion
Completion called with an
EosioResult
. -
Calls /v1/chain/get_required_keys.
Declaration
Swift
func getRequiredKeysBase(requestParameters: EosioRpcRequiredKeysRequest, completion: @escaping (EosioResult<EosioRpcRequiredKeysResponseProtocol, EosioError>) -> Void)
Parameters
completion
Completion called with an
EosioResult
. -
Calls /v1/chain/push_transaction.
Declaration
Swift
func pushTransactionBase(requestParameters: EosioRpcPushTransactionRequest, completion: @escaping (EosioResult<EosioRpcTransactionResponseProtocol, EosioError>) -> Void)
Parameters
completion
Completion called with an
EosioResult
. -
Calls /v1/chain/push_transaction.
Declaration
Swift
func sendTransactionBase(requestParameters: EosioRpcSendTransactionRequest, completion: @escaping (EosioResult<EosioRpcTransactionResponseProtocol, EosioError>) -> Void)
Parameters
completion
Completion called with an
EosioResult
.