Expand description
This crate provides types for the Near OpenAPI specification.
Used in near-openapi-client
Modules§
Structs§
- Access
Key - Access key provides limited access to an account. Each access key belongs to some account and
is identified by a unique (within the account) public key. One account may have large number of
access keys. Access keys allow to act on behalf of the account by restricting transactions
that can be issued.
account_id,public_keyis a key in the state - Access
KeyCreation Config View - Describes the cost of creating an access key.
- Access
KeyInfo View - Describes information about an access key including the public key.
- Access
KeyList - Lists access keys
- Access
KeyView - Describes access key permission scope and nonce.
- Account
Creation Config View - The structure describes configuration for creation of new accounts.
- Account
Data View - AccountData is a piece of global state that a validator signs and broadcasts to the network.
- Account
Id - NEAR Account Identifier.
- Account
IdValidity Rules Version AccountIdValidityRulesVersion- Account
Info - Account info for validators
- Account
View - A view of the account
- Account
With Public Key - Account ID with its public key.
- Action
Creation Config View - Describes the cost of creating a specific action,
Action. Includes all variants. - Action
Error - An error happened during Action execution
- AddKey
Action - An action that adds key with public key associated
- Bandwidth
Request BandwidthRequestdescribes the size of receipts that a shard would like to send to another shard. When a shard wants to send a lot of receipts to another shard, it needs to create a request and wait for a bandwidth grant from the bandwidth scheduler.- Bandwidth
Request Bitmap - Bitmap which describes which values from the predefined list are being requested. The nth bit is set to 1 when the nth value from the list is being requested.
- Bandwidth
Requests V1 - Version 1 of
BandwidthRequest. - Block
Header Inner Lite View - A part of a state for the current head of a light client. More info here.
- Block
Header View - Contains main info about the block.
- Block
Status View - Height and hash of a block
- Byte
Stream - Untyped byte stream used for both success and error responses.
- Call
Result - A result returned by contract method
- Catchup
Status View - Status of the catchup process
- Catchup
Status View Shard Sync Status CatchupStatusViewShardSyncStatus- Chunk
Distribution Network Config - Config for the Chunk Distribution Network feature. This allows nodes to push and pull chunks from a central stream. The two benefits of this approach are: (1) less request/response traffic on the peer-to-peer network and (2) lower latency for RPC nodes indexing the chain.
- Chunk
Distribution Uris - URIs for the Chunk Distribution Network feature.
- Chunk
Hash ChunkHash- Chunk
Header View - Contains main info about the chunk.
- Cloud
Archival Writer Config - Configuration for a cloud-based archival writer. If this config is present, the writer is enabled and writes chunk-related data based on the tracked shards. This config also controls additional archival behavior such as block data and polling interval.
- Congestion
Control Config View - The configuration for congestion control. More info about congestion here
- Congestion
Info View - Stores the congestion level of a shard. More info about congestion here
- Contract
Code View - A view of the contract code.
- Cost
GasUsed - Shows gas profile. More info here.
- Create
Account Action - Create account action
- Crypto
Hash CryptoHash- Current
Epoch Validator Info - Describes information about the current epoch validator
- Data
Receipt Creation Config View - The fees settings for a data receipt creation
- Data
Receiver View DataReceiverView- Delegate
Action - This action allows to execute the inner actions behalf of the defined sender.
- Delete
Account Action DeleteAccountAction- Delete
KeyAction DeleteKeyAction- Deploy
Contract Action - Deploy contract action
- Deploy
Global Contract Action - Deploy global contract action
- Detailed
Debug Status DetailedDebugStatus- Deterministic
Account State Init V1 DeterministicAccountStateInitV1- Deterministic
State Init Action DeterministicStateInitAction- Dump
Config - Configures how to dump state to external storage.
- Duration
AsStd Schema Provider DurationAsStdSchemaProvider- EpochId
- Epoch identifier – wrapped hash, to make it easier to distinguish. EpochId of epoch T is the hash of last block in T-2 EpochId of first two epochs is 0
- Epoch
Sync Config EpochSyncConfig- Execution
Metadata View ExecutionMetadataView- Execution
Outcome View ExecutionOutcomeView- Execution
Outcome With IdView ExecutionOutcomeWithIdView- ExtCosts
Config View - Typed view of ExtCostsConfig to preserve JSON output field names in protocol config RPC output.
- External
Storage Config ExternalStorageConfig- Fee
- Costs associated with an object that can only be sent over the network (and executed
by the receiver).
NOTE:
send_sirorsend_not_sirfees are usually burned when the item is being created. Andexecutionfee is burned when the item is being executed. - Final
Execution Outcome View - Execution outcome of the transaction and all the subsequent receipts. Could be not finalized yet
- Final
Execution Outcome With Receipt View - Final execution outcome of the transaction and all of subsequent the receipts. Also includes the generated receipt.
- Function
Args - This type is used to mark function arguments.
- Function
Call Action FunctionCallAction- Function
Call Permission - Grants limited permission to make transactions with FunctionCallActions The permission can limit the allowed balance to be spent on the prepaid gas. It also restrict the account ID of the receiver for this function call. It also can restrict the method name for the allowed function calls.
- GasKey
View GasKeyView- GcConfig
- Configuration for garbage collection.
- Genesis
Config GenesisConfig- Genesis
Config Error GenesisConfigError- Genesis
Config Request GenesisConfigRequest- Global
Contract Identifier View GlobalContractIdentifierView- Json
RpcRequest ForBlock JsonRpcRequestForBlock- Json
RpcRequest ForBlock Effects JsonRpcRequestForBlockEffects- Json
RpcRequest ForBroadcast TxAsync JsonRpcRequestForBroadcastTxAsync- Json
RpcRequest ForBroadcast TxCommit JsonRpcRequestForBroadcastTxCommit- Json
RpcRequest ForChanges JsonRpcRequestForChanges- Json
RpcRequest ForChunk JsonRpcRequestForChunk- Json
RpcRequest ForClient Config JsonRpcRequestForClientConfig- Json
RpcRequest ForExperimental Changes JsonRpcRequestForExperimentalChanges- Json
RpcRequest ForExperimental Changes InBlock JsonRpcRequestForExperimentalChangesInBlock- Json
RpcRequest ForExperimental Congestion Level JsonRpcRequestForExperimentalCongestionLevel- Json
RpcRequest ForExperimental Genesis Config JsonRpcRequestForExperimentalGenesisConfig- Json
RpcRequest ForExperimental Light Client Block Proof JsonRpcRequestForExperimentalLightClientBlockProof- Json
RpcRequest ForExperimental Light Client Proof JsonRpcRequestForExperimentalLightClientProof- Json
RpcRequest ForExperimental Maintenance Windows JsonRpcRequestForExperimentalMaintenanceWindows- Json
RpcRequest ForExperimental Protocol Config JsonRpcRequestForExperimentalProtocolConfig- Json
RpcRequest ForExperimental Receipt JsonRpcRequestForExperimentalReceipt- Json
RpcRequest ForExperimental Split Storage Info JsonRpcRequestForExperimentalSplitStorageInfo- Json
RpcRequest ForExperimental TxStatus JsonRpcRequestForExperimentalTxStatus- Json
RpcRequest ForExperimental Validators Ordered JsonRpcRequestForExperimentalValidatorsOrdered- Json
RpcRequest ForGas Price JsonRpcRequestForGasPrice- Json
RpcRequest ForGenesis Config JsonRpcRequestForGenesisConfig- Json
RpcRequest ForHealth JsonRpcRequestForHealth- Json
RpcRequest ForLight Client Proof JsonRpcRequestForLightClientProof- Json
RpcRequest ForMaintenance Windows JsonRpcRequestForMaintenanceWindows- Json
RpcRequest ForNetwork Info JsonRpcRequestForNetworkInfo- Json
RpcRequest ForNext Light Client Block JsonRpcRequestForNextLightClientBlock- Json
RpcRequest ForQuery JsonRpcRequestForQuery- Json
RpcRequest ForSend Tx JsonRpcRequestForSendTx- Json
RpcRequest ForStatus JsonRpcRequestForStatus- Json
RpcRequest ForTx JsonRpcRequestForTx- Json
RpcRequest ForValidators JsonRpcRequestForValidators- Known
Producer View - Information about a Producer: its account name, peer_id and a list of connected peers that the node can use to send message for this producer.
- Light
Client Block Lite View LightClientBlockLiteView- Limit
Config - Describes limits for VM and Runtime. TODO #4139: consider switching to strongly-typed wrappers instead of raw quantities
- Merkle
Path Item MerklePathItem- Missing
Trie Value MissingTrieValue- Mutable
Config Value MutableConfigValue- NearGas
- Near
Token - Network
Info View NetworkInfoView- Next
Epoch Validator Info NextEpochValidatorInfo- PeerId
- Peer id is the public key.
- Peer
Info View PeerInfoView- Public
Key PublicKey- Range
OfUint64 RangeOfUint64- Receipt
View ReceiptView- Response
Value - Typed value returned by generated client methods.
- RpcBlock
Response RpcBlockResponse- RpcChunk
Response RpcChunkResponse- RpcClient
Config Request RpcClientConfigRequest- RpcClient
Config Response - ClientConfig where some fields can be updated at runtime.
- RpcCongestion
Level Response RpcCongestionLevelResponse- RpcGas
Price Request RpcGasPriceRequest- RpcGas
Price Response RpcGasPriceResponse- RpcHealth
Request RpcHealthRequest- RpcHealth
Response RpcHealthResponse- RpcKnown
Producer RpcKnownProducer- RpcLight
Client Block Proof Request RpcLightClientBlockProofRequest- RpcLight
Client Block Proof Response RpcLightClientBlockProofResponse- RpcLight
Client Execution Proof Response RpcLightClientExecutionProofResponse- RpcLight
Client Next Block Request RpcLightClientNextBlockRequest- RpcLight
Client Next Block Response - A state for the current head of a light client. More info here.
- RpcMaintenance
Windows Request RpcMaintenanceWindowsRequest- RpcNetwork
Info Request RpcNetworkInfoRequest- RpcNetwork
Info Response RpcNetworkInfoResponse- RpcPeer
Info RpcPeerInfo- RpcProtocol
Config Response RpcProtocolConfigResponse- RpcReceipt
Request RpcReceiptRequest- RpcReceipt
Response RpcReceiptResponse- RpcSend
Transaction Request RpcSendTransactionRequest- RpcSplit
Storage Info Request RpcSplitStorageInfoRequest- RpcSplit
Storage Info Response - Contains the split storage information.
- RpcState
Changes InBlock ByType Response RpcStateChangesInBlockByTypeResponse- RpcState
Changes InBlock Response RpcStateChangesInBlockResponse- RpcStatus
Request RpcStatusRequest- RpcStatus
Response RpcStatusResponse- RpcValidator
Response - Information about this epoch validators and next epoch validators
- RpcValidators
Ordered Request RpcValidatorsOrderedRequest- Runtime
Config View - View that preserves JSON format of the runtime config.
- Runtime
Fees Config View - Describes different fees for the runtime
- ShardId
- The shard identifier. It may be an arbitrary number - it does not need to be a number in the range 0..NUM_SHARDS. The shard ids do not need to be sequential or contiguous.
- Shard
Layout V0 - A shard layout that maps accounts evenly across all shards – by calculate the hash of account
id and mod number of shards. This is added to capture the old
account_id_to_shard_idalgorithm, to keep backward compatibility for some existing tests.parent_shardsforShardLayoutV1is alwaysNone, meaning it can only be the first shard layout a chain uses. - Shard
Layout V1 ShardLayoutV1- Shard
Layout V2 - Counterpart to
ShardLayoutV2composed of maps with string keys to aid serde serialization. - ShardU
Id ShardUIdis a unique representation for shards from different shard layouts.- Signature
Signature- Signed
Delegate Action SignedDelegateAction- Signed
Transaction SignedTransaction- Signed
Transaction View SignedTransactionView- Slashed
Validator SlashedValidator- Stake
Action - An action which stakes signer_id tokens and setup’s validator public key
- State
Change With Cause View Variant0 Change - A view of the account
- State
Change With Cause View Variant1 Change StateChangeWithCauseViewVariant1Change- State
Change With Cause View Variant2 Change StateChangeWithCauseViewVariant2Change- State
Change With Cause View Variant3 Change StateChangeWithCauseViewVariant3Change- State
Change With Cause View Variant4 Change StateChangeWithCauseViewVariant4Change- State
Change With Cause View Variant5 Change StateChangeWithCauseViewVariant5Change- State
Change With Cause View Variant6 Change StateChangeWithCauseViewVariant6Change- State
Change With Cause View Variant7 Change StateChangeWithCauseViewVariant7Change- State
Change With Cause View Variant8 Change StateChangeWithCauseViewVariant8Change- State
Change With Cause View Variant9 Change StateChangeWithCauseViewVariant9Change- State
Change With Cause View Variant10 Change StateChangeWithCauseViewVariant10Change- State
Item - Item of the state, key and value are serialized in base64 and proof for inclusion of given state item.
- State
Sync Config StateSyncConfig- Status
Sync Info StatusSyncInfo- Storage
Usage Config View - Describes cost of storage per block
- Store
Key - This type is used to mark keys (arrays of bytes) that are queried from store.
- Store
Value - This type is used to mark values returned from store (arrays of bytes).
- Sync
Concurrency SyncConcurrency- Tier1
Proxy View Tier1ProxyView- Transfer
Action TransferAction- UseGlobal
Contract Action - Use global contract action
- Validator
Info ValidatorInfo- Validator
Kickout View ValidatorKickoutView- Validator
Stake View ValidatorStakeView- Validator
Stake View V1 ValidatorStakeViewV1- Version
- Data structure for semver version and github tag or commit.
- View
State Result - Resulting state values for a view state query request
- VmConfig
View VmConfigView- Witness
Config View - Configuration specific to ChunkStateWitness.
Enums§
- Access
KeyPermission - Defines permissions for AccessKey
- Access
KeyPermission View - Describes the permission scope for an access key. Whether it is a function call or a full access key.
- Account
Changes ByBlock IdChanges Type AccountChangesByBlockIdChangesType- Account
Changes ByFinality Changes Type AccountChangesByFinalityChangesType- Account
Changes BySync Checkpoint Changes Type AccountChangesBySyncCheckpointChangesType- Action
Error Kind ActionErrorKind- Action
View ActionView- Actions
Validation Error - Describes the error for validating a list of actions.
- AllAccess
KeyChanges ByBlock IdChanges Type AllAccessKeyChangesByBlockIdChangesType- AllAccess
KeyChanges ByFinality Changes Type AllAccessKeyChangesByFinalityChangesType- AllAccess
KeyChanges BySync Checkpoint Changes Type AllAccessKeyChangesBySyncCheckpointChangesType- AllGas
KeyChanges ByBlock IdChanges Type AllGasKeyChangesByBlockIdChangesType- AllGas
KeyChanges ByFinality Changes Type AllGasKeyChangesByFinalityChangesType- AllGas
KeyChanges BySync Checkpoint Changes Type AllGasKeyChangesBySyncCheckpointChangesType- Bandwidth
Requests - A list of shard’s bandwidth requests. Describes how much the shard would like to send to other shards.
- BlockId
BlockId- Block
Reference BlockReference- Call
Function ByBlock IdRequest Type CallFunctionByBlockIdRequestType- Call
Function ByFinality Request Type CallFunctionByFinalityRequestType- Call
Function BySync Checkpoint Request Type CallFunctionBySyncCheckpointRequestType- Compilation
Error CompilationError- Contract
Code Changes ByBlock IdChanges Type ContractCodeChangesByBlockIdChangesType- Contract
Code Changes ByFinality Changes Type ContractCodeChangesByFinalityChangesType- Contract
Code Changes BySync Checkpoint Changes Type ContractCodeChangesBySyncCheckpointChangesType- Data
Changes ByBlock IdChanges Type DataChangesByBlockIdChangesType- Data
Changes ByFinality Changes Type DataChangesByFinalityChangesType- Data
Changes BySync Checkpoint Changes Type DataChangesBySyncCheckpointChangesType- Deterministic
Account State Init DeterministicAccountStateInit- Direction
Direction- Error
- Error produced by generated client methods.
- Error
Wrapper ForGenesis Config Error ErrorWrapperForGenesisConfigError- Error
Wrapper ForRpc Block Error ErrorWrapperForRpcBlockError- Error
Wrapper ForRpc Chunk Error ErrorWrapperForRpcChunkError- Error
Wrapper ForRpc Client Config Error ErrorWrapperForRpcClientConfigError- Error
Wrapper ForRpc GasPrice Error ErrorWrapperForRpcGasPriceError- Error
Wrapper ForRpc Light Client Next Block Error ErrorWrapperForRpcLightClientNextBlockError- Error
Wrapper ForRpc Light Client Proof Error ErrorWrapperForRpcLightClientProofError- Error
Wrapper ForRpc Maintenance Windows Error ErrorWrapperForRpcMaintenanceWindowsError- Error
Wrapper ForRpc Network Info Error ErrorWrapperForRpcNetworkInfoError- Error
Wrapper ForRpc Protocol Config Error ErrorWrapperForRpcProtocolConfigError- Error
Wrapper ForRpc Query Error ErrorWrapperForRpcQueryError- Error
Wrapper ForRpc Receipt Error ErrorWrapperForRpcReceiptError- Error
Wrapper ForRpc Split Storage Info Error ErrorWrapperForRpcSplitStorageInfoError- Error
Wrapper ForRpc State Changes Error ErrorWrapperForRpcStateChangesError- Error
Wrapper ForRpc Status Error ErrorWrapperForRpcStatusError- Error
Wrapper ForRpc Transaction Error ErrorWrapperForRpcTransactionError- Error
Wrapper ForRpc Validator Error ErrorWrapperForRpcValidatorError- Execution
Status View ExecutionStatusView- External
Storage Location - Supported external storage backends and their minimal config.
- Final
Execution Status FinalExecutionStatus- Finality
- Different types of finality.
- Function
Call Error - Serializable version of
near-vm-runner::FunctionCallError. - Global
Contract Deploy Mode GlobalContractDeployMode- Global
Contract Identifier GlobalContractIdentifier- Host
Error HostError- Internal
Error InternalError- Invalid
Access KeyError InvalidAccessKeyError- Invalid
TxError - An error happened during TX execution
- Json
RpcRequest ForBlock Effects Method JsonRpcRequestForBlockEffectsMethod- Json
RpcRequest ForBlock Method JsonRpcRequestForBlockMethod- Json
RpcRequest ForBroadcast TxAsync Method JsonRpcRequestForBroadcastTxAsyncMethod- Json
RpcRequest ForBroadcast TxCommit Method JsonRpcRequestForBroadcastTxCommitMethod- Json
RpcRequest ForChanges Method JsonRpcRequestForChangesMethod- Json
RpcRequest ForChunk Method JsonRpcRequestForChunkMethod- Json
RpcRequest ForClient Config Method JsonRpcRequestForClientConfigMethod- Json
RpcRequest ForExperimental Changes InBlock Method JsonRpcRequestForExperimentalChangesInBlockMethod- Json
RpcRequest ForExperimental Changes Method JsonRpcRequestForExperimentalChangesMethod- Json
RpcRequest ForExperimental Congestion Level Method JsonRpcRequestForExperimentalCongestionLevelMethod- Json
RpcRequest ForExperimental Genesis Config Method JsonRpcRequestForExperimentalGenesisConfigMethod- Json
RpcRequest ForExperimental Light Client Block Proof Method JsonRpcRequestForExperimentalLightClientBlockProofMethod- Json
RpcRequest ForExperimental Light Client Proof Method JsonRpcRequestForExperimentalLightClientProofMethod- Json
RpcRequest ForExperimental Maintenance Windows Method JsonRpcRequestForExperimentalMaintenanceWindowsMethod- Json
RpcRequest ForExperimental Protocol Config Method JsonRpcRequestForExperimentalProtocolConfigMethod- Json
RpcRequest ForExperimental Receipt Method JsonRpcRequestForExperimentalReceiptMethod- Json
RpcRequest ForExperimental Split Storage Info Method JsonRpcRequestForExperimentalSplitStorageInfoMethod- Json
RpcRequest ForExperimental TxStatus Method JsonRpcRequestForExperimentalTxStatusMethod- Json
RpcRequest ForExperimental Validators Ordered Method JsonRpcRequestForExperimentalValidatorsOrderedMethod- Json
RpcRequest ForGas Price Method JsonRpcRequestForGasPriceMethod- Json
RpcRequest ForGenesis Config Method JsonRpcRequestForGenesisConfigMethod- Json
RpcRequest ForHealth Method JsonRpcRequestForHealthMethod- Json
RpcRequest ForLight Client Proof Method JsonRpcRequestForLightClientProofMethod- Json
RpcRequest ForMaintenance Windows Method JsonRpcRequestForMaintenanceWindowsMethod- Json
RpcRequest ForNetwork Info Method JsonRpcRequestForNetworkInfoMethod- Json
RpcRequest ForNext Light Client Block Method JsonRpcRequestForNextLightClientBlockMethod- Json
RpcRequest ForQuery Method JsonRpcRequestForQueryMethod- Json
RpcRequest ForSend TxMethod JsonRpcRequestForSendTxMethod- Json
RpcRequest ForStatus Method JsonRpcRequestForStatusMethod- Json
RpcRequest ForTx Method JsonRpcRequestForTxMethod- Json
RpcRequest ForValidators Method JsonRpcRequestForValidatorsMethod- Json
RpcResponse ForArray OfRange OfUint64 AndRpc Maintenance Windows Error JsonRpcResponseForArrayOfRangeOfUint64AndRpcMaintenanceWindowsError- Json
RpcResponse ForArray OfValidator Stake View AndRpc Validator Error JsonRpcResponseForArrayOfValidatorStakeViewAndRpcValidatorError- Json
RpcResponse ForCrypto Hash AndRpc Transaction Error JsonRpcResponseForCryptoHashAndRpcTransactionError- Json
RpcResponse ForGenesis Config AndGenesis Config Error JsonRpcResponseForGenesisConfigAndGenesisConfigError- Json
RpcResponse ForNullable RpcHealth Response AndRpc Status Error JsonRpcResponseForNullableRpcHealthResponseAndRpcStatusError- Json
RpcResponse ForRpc Block Response AndRpc Block Error JsonRpcResponseForRpcBlockResponseAndRpcBlockError- Json
RpcResponse ForRpc Chunk Response AndRpc Chunk Error JsonRpcResponseForRpcChunkResponseAndRpcChunkError- Json
RpcResponse ForRpc Client Config Response AndRpc Client Config Error JsonRpcResponseForRpcClientConfigResponseAndRpcClientConfigError- Json
RpcResponse ForRpc Congestion Level Response AndRpc Chunk Error JsonRpcResponseForRpcCongestionLevelResponseAndRpcChunkError- Json
RpcResponse ForRpc GasPrice Response AndRpc GasPrice Error JsonRpcResponseForRpcGasPriceResponseAndRpcGasPriceError- Json
RpcResponse ForRpc Light Client Block Proof Response AndRpc Light Client Proof Error JsonRpcResponseForRpcLightClientBlockProofResponseAndRpcLightClientProofError- Json
RpcResponse ForRpc Light Client Execution Proof Response AndRpc Light Client Proof Error JsonRpcResponseForRpcLightClientExecutionProofResponseAndRpcLightClientProofError- Json
RpcResponse ForRpc Light Client Next Block Response AndRpc Light Client Next Block Error JsonRpcResponseForRpcLightClientNextBlockResponseAndRpcLightClientNextBlockError- Json
RpcResponse ForRpc Network Info Response AndRpc Network Info Error JsonRpcResponseForRpcNetworkInfoResponseAndRpcNetworkInfoError- Json
RpcResponse ForRpc Protocol Config Response AndRpc Protocol Config Error JsonRpcResponseForRpcProtocolConfigResponseAndRpcProtocolConfigError- Json
RpcResponse ForRpc Query Response AndRpc Query Error JsonRpcResponseForRpcQueryResponseAndRpcQueryError- Json
RpcResponse ForRpc Receipt Response AndRpc Receipt Error JsonRpcResponseForRpcReceiptResponseAndRpcReceiptError- Json
RpcResponse ForRpc Split Storage Info Response AndRpc Split Storage Info Error JsonRpcResponseForRpcSplitStorageInfoResponseAndRpcSplitStorageInfoError- Json
RpcResponse ForRpc State Changes InBlock ByType Response AndRpc State Changes Error JsonRpcResponseForRpcStateChangesInBlockByTypeResponseAndRpcStateChangesError- Json
RpcResponse ForRpc State Changes InBlock Response AndRpc State Changes Error JsonRpcResponseForRpcStateChangesInBlockResponseAndRpcStateChangesError- Json
RpcResponse ForRpc Status Response AndRpc Status Error JsonRpcResponseForRpcStatusResponseAndRpcStatusError- Json
RpcResponse ForRpc Transaction Response AndRpc Transaction Error JsonRpcResponseForRpcTransactionResponseAndRpcTransactionError- Json
RpcResponse ForRpc Validator Response AndRpc Validator Error JsonRpcResponseForRpcValidatorResponseAndRpcValidatorError- LogSummary
Style LogSummaryStyle- Method
Resolve Error MethodResolveError- Missing
Trie Value Context - Contexts in which
StorageError::MissingTrieValueerror might occur. - NonDelegate
Action - An Action that can be included in a transaction or receipt, excluding delegate actions. This type represents all possible action types except DelegateAction to prevent infinite recursion in meta-transactions.
- Prepare
Error - Error that can occur while preparing or executing Wasm smart-contract.
- Protocol
Version Check Config - Configures whether the node checks the next or the next next epoch for network version compatibility.
- Receipt
Enum View ReceiptEnumView- Receipt
Validation Error - Describes the error for validating a receipt.
- RpcBlock
Error RpcBlockError- RpcBlock
Request RpcBlockRequest- RpcChunk
Error RpcChunkError- RpcChunk
Request RpcChunkRequest- RpcClient
Config Error RpcClientConfigError- RpcCongestion
Level Request RpcCongestionLevelRequest- RpcGas
Price Error RpcGasPriceError- RpcLight
Client Execution Proof Request RpcLightClientExecutionProofRequest- RpcLight
Client Execution Proof Request Variant0 Type RpcLightClientExecutionProofRequestVariant0Type- RpcLight
Client Execution Proof Request Variant1 Type RpcLightClientExecutionProofRequestVariant1Type- RpcLight
Client Next Block Error RpcLightClientNextBlockError- RpcLight
Client Proof Error RpcLightClientProofError- RpcMaintenance
Windows Error RpcMaintenanceWindowsError- RpcNetwork
Info Error RpcNetworkInfoError- RpcProtocol
Config Error RpcProtocolConfigError- RpcProtocol
Config Request RpcProtocolConfigRequest- RpcQuery
Error RpcQueryError- RpcQuery
Request RpcQueryRequest- RpcQuery
Response RpcQueryResponse- RpcReceipt
Error RpcReceiptError- RpcRequest
Validation Error Kind RpcRequestValidationErrorKind- RpcSplit
Storage Info Error RpcSplitStorageInfoError- RpcState
Changes Error RpcStateChangesError- RpcState
Changes InBlock ByType Request - It is a serializable view of
StateChangesRequest. - RpcState
Changes InBlock Request RpcStateChangesInBlockRequest- RpcStatus
Error RpcStatusError- RpcTransaction
Error RpcTransactionError- RpcTransaction
Response RpcTransactionResponse- RpcTransaction
Status Request RpcTransactionStatusRequest- RpcValidator
Error RpcValidatorError- RpcValidator
Request RpcValidatorRequest- Shard
Layout - A versioned struct that contains all information needed to assign accounts to shards.
- Single
Access KeyChanges ByBlock IdChanges Type SingleAccessKeyChangesByBlockIdChangesType- Single
Access KeyChanges ByFinality Changes Type SingleAccessKeyChangesByFinalityChangesType- Single
Access KeyChanges BySync Checkpoint Changes Type SingleAccessKeyChangesBySyncCheckpointChangesType- Single
GasKey Changes ByBlock IdChanges Type SingleGasKeyChangesByBlockIdChangesType- Single
GasKey Changes ByFinality Changes Type SingleGasKeyChangesByFinalityChangesType- Single
GasKey Changes BySync Checkpoint Changes Type SingleGasKeyChangesBySyncCheckpointChangesType- State
Change Cause View - See crate::types::StateChangeCause for details.
- State
Change Kind View - It is a serializable view of
StateChangeKind. - State
Change With Cause View StateChangeWithCauseView- State
Change With Cause View Variant0 Type StateChangeWithCauseViewVariant0Type- State
Change With Cause View Variant1 Type StateChangeWithCauseViewVariant1Type- State
Change With Cause View Variant2 Type StateChangeWithCauseViewVariant2Type- State
Change With Cause View Variant3 Type StateChangeWithCauseViewVariant3Type- State
Change With Cause View Variant4 Type StateChangeWithCauseViewVariant4Type- State
Change With Cause View Variant5 Type StateChangeWithCauseViewVariant5Type- State
Change With Cause View Variant6 Type StateChangeWithCauseViewVariant6Type- State
Change With Cause View Variant7 Type StateChangeWithCauseViewVariant7Type- State
Change With Cause View Variant8 Type StateChangeWithCauseViewVariant8Type- State
Change With Cause View Variant9 Type StateChangeWithCauseViewVariant9Type- State
Change With Cause View Variant10 Type StateChangeWithCauseViewVariant10Type- Storage
Error - Errors which may occur during working with trie storages, storing trie values (trie nodes and state values) by their hashes.
- Storage
GetMode - This enum represents if a storage_get call will be performed through flat storage or trie
- Sync
Checkpoint SyncCheckpoint- Sync
Config - Configures how to fetch state parts during state sync.
- Tracked
Shards Config - Describes the expected behavior of the node regarding shard tracking. If the node is an active validator, it will also track the shards it is responsible for as a validator.
- TxExecution
Error - Error returned in the ExecutionOutcome in case of failure
- TxExecution
Status TxExecutionStatus- Validator
Kickout Reason - Reasons for removing a validator from the validator set.
- Validator
Stake View Validator Stake Struct Version ValidatorStakeViewValidatorStakeStructVersion- View
Access KeyBy Block IdRequest Type ViewAccessKeyByBlockIdRequestType- View
Access KeyBy Finality Request Type ViewAccessKeyByFinalityRequestType- View
Access KeyBy Sync Checkpoint Request Type ViewAccessKeyBySyncCheckpointRequestType- View
Access KeyList ByBlock IdRequest Type ViewAccessKeyListByBlockIdRequestType- View
Access KeyList ByFinality Request Type ViewAccessKeyListByFinalityRequestType- View
Access KeyList BySync Checkpoint Request Type ViewAccessKeyListBySyncCheckpointRequestType- View
Account ByBlock IdRequest Type ViewAccountByBlockIdRequestType- View
Account ByFinality Request Type ViewAccountByFinalityRequestType- View
Account BySync Checkpoint Request Type ViewAccountBySyncCheckpointRequestType- View
Code ByBlock IdRequest Type ViewCodeByBlockIdRequestType- View
Code ByFinality Request Type ViewCodeByFinalityRequestType- View
Code BySync Checkpoint Request Type ViewCodeBySyncCheckpointRequestType- View
Global Contract Code ByAccount IdBy Block IdRequest Type ViewGlobalContractCodeByAccountIdByBlockIdRequestType- View
Global Contract Code ByAccount IdBy Finality Request Type ViewGlobalContractCodeByAccountIdByFinalityRequestType- View
Global Contract Code ByAccount IdBy Sync Checkpoint Request Type ViewGlobalContractCodeByAccountIdBySyncCheckpointRequestType- View
Global Contract Code ByBlock IdRequest Type ViewGlobalContractCodeByBlockIdRequestType- View
Global Contract Code ByFinality Request Type ViewGlobalContractCodeByFinalityRequestType- View
Global Contract Code BySync Checkpoint Request Type ViewGlobalContractCodeBySyncCheckpointRequestType- View
State ByBlock IdRequest Type ViewStateByBlockIdRequestType- View
State ByFinality Request Type ViewStateByFinalityRequestType- View
State BySync Checkpoint Request Type ViewStateBySyncCheckpointRequestType- VmKind
VmKind- Wasm
Trap - A kind of a trap happened during execution of a binary
Traits§
- Client
Info - Interface for which an implementation is generated for all clients.