contracts
call(callRequest: ContractCallRequest, at?: BlockHash): ContractExecResult
interface:
contracts.calljsonrpc:
contracts_callsummary: Executes a call to a contract
deprecated: Use the runtime interface
api.call.contractsApi.callinstead
getStorage(address: AccountId, key: H256, at?: BlockHash): Option<Bytes>
interface:
contracts.getStoragejsonrpc:
contracts_getStoragesummary: Returns the value under a specified storage key in a contract
deprecated: Use the runtime interface
api.call.contractsApi.getStorageinstead
instantiate(request: InstantiateRequestV1, at?: BlockHash): ContractInstantiateResult
interface:
contracts.instantiatejsonrpc:
contracts_instantiatesummary: Instantiate a new contract
deprecated: Use the runtime interface
api.call.contractsApi.instantiateinstead
rentProjection(address: AccountId, at?: BlockHash): Option<BlockNumber>
interface:
contracts.rentProjectionjsonrpc:
contracts_rentProjectionsummary: Returns the projected time a given contract will be able to sustain paying its rent
deprecated: Not available in newer versions of the contracts interfaces
uploadCode(uploadRequest: CodeUploadRequest, at?: BlockHash): CodeUploadResult
interface:
contracts.uploadCodejsonrpc:
contracts_upload_codesummary: Upload new code without instantiating a contract from it
deprecated: Use the runtime interface
api.call.contractsApi.uploadCodeinstead