contracts
Method Name: call
Parameters: callRequest - ContractCallRequest, at - BlockHash
Return Type: ContractExecResult
interface: api.rpc.contracts.call
jsonrpc: contracts_call
The getStorageSize method executes a call to a contract for the given parameter callRequest and at.
Method Name: getStorage
Parameters: address - AccountId, key - H256, at - BlockHash
Return Type: Option<Bytes>
interface: api.rpc.contracts.getStorage
jsonrpc: contracts_getStorage
The getStorage method returns the value under a specified storage key in a contract for the given parameter address, key and at.
Method Name: instantiate
Parameters: request - InstantiateRequest, at - BlockHash
Return Type: ContractInstantiateResult
interface: api.rpc.contracts.instantiate
jsonrpc: contracts_instantiate
The instantiate method instantiate a new contract for the given parameter request and at.
Method Name: rentProjection
Parameters: address - AccountId, at - BlockHash
Return Type: Option<BlockNumber>
interface: api.rpc.contracts.rentProjection
jsonrpc: contracts_rentProjection
The rentProjection method returns the projected time a given contract will be able to sustain paying its rent for the given parameter request and at.
Method Name: uploadCode
Parameters: uploadRequest - CodeUploadRequest, at - BlockHash
Return Type: CodeUploadResult
interface: api.rpc.contracts.uploadCode
jsonrpc: contracts_uploadCode
The uploadCode method upload new code without instantiating a contract from it for the given parameter uploadRequest and at.
Last updated