This module allows you to make generic requests to the network.
The RpcQueryRequest struct takes in a BlockReference and a QueryRequest.
The BlockReference enum allows you to specify a block by Finality, BlockId or SyncCheckpoint.
The QueryRequest enum provides multiple variants for performing the following actions:
- View an account's details
- View a contract's code
- View the state of an account
- View the AccessKey of an account
- View the AccessKeyList of an account
- Call a function in a contract deployed on the network.
Request body
Response
Changes
Changed in 5 of the 9 revisions of this API.616
- ▲
added
subschema #1subschema #2to the response bodyoneOflist for the response statusresponse-body-one-of-added
- ○
removed
subschema #1subschema #2from the response bodyoneOflist for the response statusresponse-body-one-of-removed
- ▲
- ▲
added
subschema #1subschema #2to the response bodyoneOflist for the response statusresponse-body-one-of-added
- ○
added the new optional request property
///new-optional-request-property
- ○
added the new optional request property
///new-optional-request-property
- ○
added the new optional request property
///new-optional-request-property
- ○
added the new optional request property
///new-optional-request-property
- ○
added the new optional request property
///new-optional-request-property
- ○
added the new optional request property
///new-optional-request-property
- ○
removed
subschema #1subschema #2from the response bodyoneOflist for the response statusresponse-body-one-of-removed
- ▲
- ▲
added
subschema #1subschema #2to the response bodyoneOflist for the response statusresponse-body-one-of-added
- ○
removed
subschema #1subschema #2from the response bodyoneOflist for the response statusresponse-body-one-of-removed
- ▲
- ▲
removed from the
request propertyoneOflistrequest-property-one-of-removed
- ▲
added
subschema #1subschema #2to the response bodyoneOflist for the response statusresponse-body-one-of-added
- ○
added
subschema #1: view_account_by_block_idsubschema #2: view_code_by_block_idsubschema #3: view_state_by_block_idsubschema #4: view_access_key_by_block_idsubschema #5: view_access_key_list_by_block_idsubschema #6: view_gas_key_nonces_by_block_idsubschema #7: call_function_by_block_idsubschema #9: view_global_contract_code_by_account_id_by_block_idsubschema #10: view_account_by_finalitysubschema #11: view_code_by_finalitysubschema #12: view_state_by_finalitysubschema #13: view_access_key_by_finalitysubschema #14: view_access_key_list_by_finalitysubschema #15: view_gas_key_nonces_by_finalitysubschema #16: call_function_by_finalitysubschema #18: view_global_contract_code_by_account_id_by_finalitysubschema #19: view_account_by_sync_checkpointsubschema #20: view_code_by_sync_checkpointsubschema #21: view_state_by_sync_checkpointsubschema #22: view_access_key_by_sync_checkpointsubschema #23: view_access_key_list_by_sync_checkpointsubschema #24: view_gas_key_nonces_by_sync_checkpointsubschema #25: call_function_by_sync_checkpointsubschema #27: view_global_contract_code_by_account_id_by_sync_checkpointto therequest propertyoneOflistrequest-property-one-of-added
- ○
removed from the response body
oneOflist for the response statusresponse-body-one-of-removed
This revision also has 570 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
request property
was restricted to a list of enum valuesrequest-property-became-enum
- ○
the request property
became optionalrequest-property-became-optional
- ○
the request property
became optionalrequest-property-became-optional
- ○
the
request property default valuedontcarewas addedrequest-property-default-value-added
- ○
the
request property default value2.0was addedrequest-property-default-value-added
- ○
added the new
2.0enum value to the request propertyrequest-property-enum-value-added
- ▲