polkadot_dart library

Classes

AssetExtrinsicSignature
AssetTransactionPayload
BaseExtrinsicSignature
BaseMetadataInterface
BaseSubstrateAccount<DATA extends Object>
BaseSubstrateAddress
BaseSubstratePrivateKey<ADDRESS extends BaseSubstrateAddress, PUBLICKEY extends BaseSubstratePublicKey<ADDRESS>>
BaseSubstratePublicKey<ADDRESS extends BaseSubstrateAddress>
BaseTransactionPayload<ADDRESS extends BaseSubstrateAddress>
CallInfo
CallMethodInfo
ChainProperties
ConstantInfo
CustomMetadata15
CustomValueMetadata15
DecodeCallResult
DeprecationStatus
DigestResponse
EthereumExtrinsicSignature
Extrinsic
ExtrinsicMetadataV14
ExtrinsicMetadataV15
ExtrinsicMetadataV16
ExtrinsicSignature
ExtrinsicTypeInfo
FeeDetails
FeeDetailsFrame
FrameSupportDispatchPerDispatchClass
frame_support, dispatch, PerDispatchClas
ImmortalEra
InclusionFee
LegacyExtrinsicSignature
LegacyTransactionPayload
MetadataApi
MetadataConstant
Contains constant values related to metadata in the Substrate blockchain framework.
MetadataDeprecationInfo
MetadataInfo
MetadataItemDeprecated
Entry is fully deprecated.
MetadataNotDeprecated
Type is not deprecated
MetadataStatusDeprecated
MetadataStatusDeprecatedWithoutNote
MetadataStatusNotDeprecated
MetadataTypeInfo<T>
MetadataTypeInfoArray<T extends MetadataTypeInfo>
MetadataTypeInfoBigInt
MetadataTypeInfoBoolean
MetadataTypeInfoComposit<T extends MetadataTypeInfo>
MetadataTypeInfoInt
MetadataTypeInfoNone
MetadataTypeInfoNumeric<T>
MetadataTypeInfoPromitive<T>
MetadataTypeInfoSequence<T extends MetadataTypeInfo>
MetadataTypeInfoString
MetadataTypeInfoTuple<T extends MetadataTypeInfo>
MetadataTypeInfoUtils
MetadataTypeInfoVariant
MetadataV14
MetadataV15
MetadataV16
MetadataVariantsDeprecated
Entry is partially deprecated.
MoonbeamTransactionPayload
MortalEra
MultisigTimepoint
OuterEnums15
PalletAssociatedTypeMetadata
PalletCallMetadata
PalletCallMetadataV14
PalletCallMetadataV16
PalletConstantMetadata
PalletConstantMetadataV14
PalletConstantMetadataV16
PalletErrorMetadata
PalletErrorMetadataV14
PalletErrorMetadataV16
PalletEventMetadata
PalletEventMetadataV14
PalletEventMetadataV16
PalletInfo
PalletMetadata<STORAGE extends PalletStorageMetadata<StorageEntryMetadataV14>, CALL extends PalletCallMetadata, EVENT extends PalletEventMetadata, CONSTANT extends PalletConstantMetadata, ERROR extends PalletErrorMetadata>
PalletMetadataV14
PalletMetadataV15
PalletMetadataV16
PalletStorageMetadata<STORAGEENTERY extends StorageEntryMetadataV14>
PalletStorageMetadataV14
PeerInfo
PortableRegistry
Abstract class representing a registry for portable type information in the Substrate framework.
PortableRegistryV14
PortableTypeV14
PrimitiveType
PrimitiveTypes
QueryFeeInfoFrame
QueryStorageAtResult<T>
QueryStorageRequest<T>
QueryStorageRequestBlock
QueryStorageResponse<T>
QueryStorageResult<T>
RpcMethods
RuntimeApiInfo
RuntimeApiInputInfo
RuntimeApiMetadata<METHOD extends RuntimeApiMethodMetadata>
RuntimeApiMetadataV15
RuntimeApiMetadataV16
RuntimeApiMethodInfo
RuntimeApiMethodMetadata
RuntimeApiMethodMetadataV15
RuntimeApiMethodParamMetadataV15
RuntimeVersion
RuntimeVersionApi
Si0TypeDefPrimitive
Si1Field
Si1Type
Si1TypeDef<T>
Si1TypeDefArray
Si1TypeDefBitSequence
Si1TypeDefCompact
Si1TypeDefComposite
Si1TypeDefHistoricMetaCompat
Si1TypeDefPrimitive
Si1TypeDefSequence
Si1TypeDefsIndexesConst
Si1TypeDefTuple
Si1TypeDefVariant
Si1TypeParameter
Si1Variant
SignedExtensionMetadataV14
SpWeightsWeightV2Weight
sp_weights, weight_v2, Weigh
SS58Const
Holds constant values for various SS58 format identifiers used in different Substrate-based blockchains.
StakingPayee
StakingPayeeAccount
StakingPayeeOption
StorageChangeStateResponse
StorageEntryMetadataV14
StorageEntryModifierV14
StorageEntryModifierV9
StorageEntryTypeV14<T>
StorageEntryTypeV14IndexKeys
StorageEntryTypeV14Map
StorageEntryTypeV14Plain
StorageHasherV11
StorageHasherV11Options
StorageHasherV14
StorageInfo
SubstrateAccount
SubstrateAccount20
SubstrateAccount32
SubstrateAccountData
at most network support this template for account data
SubstrateAccountId
It's an account ID (pubkey).
SubstrateAccountIndex
SubstrateAccountRaw
SubstrateAddress
Represents a Substrate blockchain address with various factory constructors to initialize an address from different key types and functionalities to manipulate and encode/decode addresses.
SubstrateAddressUtils
Utility class for operations related to Substrate addresses, including creation of multi-signature addresses and sorting addresses.
SubstrateBaseAccountId<T>
SubstrateBaseEra
SubstrateBaseSignature
SubstrateBlockHash
SubstrateBlockResponse
SubstrateConstant
SubstrateDefaultAccount
SubstrateEcdsaSignature
SubstrateED25519Signature
SubstrateEnumSerializationUtils
SubstrateEthereumAddress
Represents a Substrate blockchain address with various factory constructors to initialize an address from different key types and functionalities to manipulate and encode/decode addresses.
SubstrateEthereumPrivateKey
Class representing an ethereum private key, allowing for cryptographic operations and key-related functionality.
SubstrateEthereumPublicKey
Class representing an ethereum public key, providing methods for conversion, verification, and address generation.
SubstrateEvent
SubstrateGetBlockResponse
SubstrateHash256
SubstrateHeaderResponse
SubstrateHelper
SubstrateMetadata<T>
Abstract class representing metadata in the Substrate blockchain framework.
SubstrateMultiAddress
SubstrateMultiSignature
SubstratePrivateKey
Represents a private key in the Substrate framework.
SubstrateProvider
Represents an interface to interact with substrate nodes using JSON-RPC requests.
SubstratePublicKey
Represents a public key in the Substrate framework.
SubstrateRequest<RESULT, SERVICERESPONSE>
An abstract class representing Ethereum JSON-RPC requests with generic response types.
SubstrateRequestAccountNextIndex
Retrieves the next accountIndex as available on the node https://polkadot.js.org/docs/substrate/rpc/#system
SubstrateRequestAuthorHasKey
Returns true if the keystore has private keys for the given public key and key type. This method is only active with appropriate flags https://polkadot.js.org/docs/substrate/rpc/#author
SubstrateRequestAuthorHasSessionKeys
Returns true if the keystore has private keys for the given session public keys. This method is only active with appropriate flags https://polkadot.js.org/docs/substrate/rpc/#author
SubstrateRequestAuthorInsertKey
Insert a key into the keystore. This method is only active with appropriate flags https://polkadot.js.org/docs/substrate/rpc/#author
SubstrateRequestAuthorPendingExtrinsics
Returns all pending extrinsics, potentially grouped by sender https://polkadot.js.org/docs/substrate/rpc/#author
SubstrateRequestAuthorRemoveExtrinsic
Remove given extrinsic from the pool and temporarily ban it to prevent reimporting This method is only active with appropriate flags https://polkadot.js.org/docs/substrate/rpc/#author
SubstrateRequestAuthorRotateKeys
Generate new session keys and returns the corresponding public keys. This method is only active with appropriate flags https://polkadot.js.org/docs/substrate/rpc/#author
SubstrateRequestAuthorSubmitAndWatchExtrinsic
Submit and subscribe to watch an extrinsic until unsubscribed. https://polkadot.js.org/docs/substrate/rpc/#author
SubstrateRequestAuthorSubmitExtrinsic
Submit a fully formatted extrinsic for block inclusion. https://polkadot.js.org/docs/substrate/rpc/#author
SubstrateRequestBabeEepochAuthorship
Returns data about which slots (primary or secondary) can be claimed in the current epoch with the keys in the keystore. This method is only active with appropriate flags https://polkadot.js.org/docs/substrate/rpc/#babe
SubstrateRequestBeefyGetFinalizedHead
Returns hash of the latest BEEFY finalized block as seen by this client. https://polkadot.js.org/docs/substrate/rpc/#beefy
SubstrateRequestBeefySubscribeJustifications
Returns the block most recently finalized by BEEFY, alongside its justification. https://polkadot.js.org/docs/substrate/rpc/#beefy
SubstrateRequestChainChainGetFinalizedHead
Get hash of the last finalized block in the canon chain https://polkadot.js.org/docs/substrate/rpc/#chain
SubstrateRequestChainChainGetHeader
Retrieves the header for a specific block https://polkadot.js.org/docs/substrate/rpc/#chain
SubstrateRequestChainGetBlock
Get header and body of a relay chain block. https://polkadot.js.org/docs/substrate/rpc/#chain
SubstrateRequestChainGetBlockHash<T extends String?>
Get the block hash for a specific block. https://polkadot.js.org/docs/substrate/rpc/#chain
SubstrateRequestChainSubscribeAllHeads
Retrieves the newest header via subscription https://polkadot.js.org/docs/substrate/rpc/#chain
SubstrateRequestChainSubscribeFinalizedHeads
Retrieves the best finalized header via subscription https://polkadot.js.org/docs/substrate/rpc/#chain
SubstrateRequestChainSubscribeNewHeads
Retrieves the best header via subscription https://polkadot.js.org/docs/substrate/rpc/#chain
SubstrateRequestChildStateGetKeys
Returns the keys with prefix from a child storage, leave empty to get all the keys https://polkadot.js.org/docs/substrate/rpc/#childstate
SubstrateRequestChildStateGetKeysPaged
Returns the keys with prefix from a child storage with pagination support https://polkadot.js.org/docs/substrate/rpc/#childstate
SubstrateRequestChildStateGetStorage
Returns a child storage entry at a specific block state https://polkadot.js.org/docs/substrate/rpc/#childstate
SubstrateRequestChildStateGetStorageEntries
Returns child storage entries for multiple keys at a specific block state https://polkadot.js.org/docs/substrate/rpc/#childstate
SubstrateRequestChildStateGetStorageHash
Returns the hash of a child storage entry at a block state. https://polkadot.js.org/docs/substrate/rpc/#childstate
SubstrateRequestChildStateGetStorageSize
Returns the size of a child storage entry at a block state. https://polkadot.js.org/docs/substrate/rpc/#childstate
SubstrateRequestDetails
Represents the details of an Ethereum JSON-RPC request.
SubstrateRequestDevGetBlockStats
Reexecute the specified block_hash and gather statistics while doing so https://polkadot.js.org/docs/substrate/rpc/#dev
SubstrateRequestEngineCreateBlock
Instructs the manual-seal authorship task to create a new block https://polkadot.js.org/docs/substrate/rpc/#engine
SubstrateRequestEngineFinalizeBlock
Instructs the manual-seal authorship task to finalize a block https://polkadot.js.org/docs/substrate/rpc/#engine
SubstrateRequestGetStorage
Retrieves the storage for a key https://polkadot.js.org/docs/substrate/rpc/#state
SubstrateRequestGrandpaProveFinality
Prove finality for the given block number, returning the Justification for the last block in the set. https://polkadot.js.org/docs/substrate/rpc/#grandpa
SubstrateRequestGrandpaRoundState
Returns the state of the current best round state as well as the ongoing background rounds https://polkadot.js.org/docs/substrate/rpc/#grandpa
SubstrateRequestGrandpaSubscribeJustifications
Subscribes to grandpa justifications https://polkadot.js.org/docs/substrate/rpc/#grandpa
SubstrateRequestMethods
SubstrateRequestMMRGenerateProof
Generate MMR proof for the given block numbers. https://polkadot.js.org/docs/substrate/rpc/#mmr
SubstrateRequestMMRRoot
Get the MMR root hash for the current best block. https://polkadot.js.org/docs/substrate/rpc/#mmr
SubstrateRequestMMRVerifyProof
Verify an MMR proof. https://polkadot.js.org/docs/substrate/rpc/#mmr
SubstrateRequestMMRVerifyProofStateless
Verify an MMR proof statelessly given an mmr_root. https://polkadot.js.org/docs/substrate/rpc/#mmr
SubstrateRequestOffChainLocalStorageGet
Get offchain local storage under given key and prefix https://polkadot.js.org/docs/substrate/rpc/#offchain
SubstrateRequestOffChainLocalStorageSet
Set offchain local storage under given key and prefix https://polkadot.js.org/docs/substrate/rpc/#offchain
SubstrateRequestPaymentQueryFeeDetails
Query the detailed fee of a given encoded extrinsic. https://polkadot.js.org/docs/substrate/rpc/#payment
SubstrateRequestPaymentQueryInfo
Retrieves the fee information for an encoded extrinsic. https://polkadot.js.org/docs/substrate/rpc/#payment
SubstrateRequestQuerStateStorageAt
Query storage entries (by key) starting at block hash given as the second parameter https://polkadot.js.org/docs/substrate/rpc/#state
SubstrateRequestRpcMethods
Retrieves the list of RPC methods that are exposed by the node. https://polkadot.js.org/docs/substrate/rpc/#rpc
SubstrateRequestRuntimeAccountBalances
Returns the supported metadata versions. https://polkadot.js.org/docs/substrate/runtime/#metadata
SubstrateRequestRuntimeMetadataGetMetadata
Returns the metadata of a runtime. https://polkadot.js.org/docs/substrate/runtime/#metadata
SubstrateRequestRuntimeMetadataGetMetadataAtVersion
Returns the metadata at a given version https://polkadot.js.org/docs/substrate/runtime/#metadata
SubstrateRequestRuntimeMetadataGetVersions
Returns the supported metadata versions. https://polkadot.js.org/docs/substrate/runtime/#metadata
SubstrateRequestRuntimeTransactionPaymentApiQueryFeeDetails
Returns the metadata at a given version https://polkadot.js.org/docs/substrate/runtime/#metadata
SubstrateRequestStateCall
Perform a call to a builtin on the chain. https://polkadot.js.org/docs/substrate/rpc/#state
SubstrateRequestStateGetChildKeys
Retrieves the keys with prefix of a specific child storage. https://polkadot.js.org/docs/substrate/rpc/#state
SubstrateRequestStateGetChildReadProof
Returns proof of storage for child key entries at a specific block state https://polkadot.js.org/docs/substrate/rpc/#state
SubstrateRequestStateGetChildStorage
Retrieves the child storage for a key. https://polkadot.js.org/docs/substrate/rpc/#state
SubstrateRequestStateGetChildStorageHash
Retrieves the child storage hash. https://polkadot.js.org/docs/substrate/rpc/#state
SubstrateRequestStateGetChildStorageSize
Retrieves the child storage size. https://polkadot.js.org/docs/substrate/rpc/#state
SubstrateRequestStateGetKeys
Retrieves the keys with a certain prefix https://polkadot.js.org/docs/substrate/rpc/#state
SubstrateRequestStateGetKeysPaged
Returns the keys with prefix with pagination support. https://polkadot.js.org/docs/substrate/rpc/#state
SubstrateRequestStateGetMetadata
Returns the runtime metadata. https://polkadot.js.org/docs/substrate/rpc/#state
SubstrateRequestStateGetReadProof
Returns proof of storage entries at a specific block state. https://polkadot.js.org/docs/substrate/rpc/#state
SubstrateRequestStateGetRuntimeVersion
Get the runtime version. https://polkadot.js.org/docs/substrate/rpc/#state
SubstrateRequestStateGetStorageHash
Retrieves the storage hash. https://polkadot.js.org/docs/substrate/rpc/#state
SubstrateRequestStateGetStorageSize
Retrieves the storage size. https://polkadot.js.org/docs/substrate/rpc/#state
SubstrateRequestStateQueryStorage
Query historical storage entries (by key) starting from a start block https://polkadot.js.org/docs/substrate/rpc/#state
SubstrateRequestStateSubscribeRuntimeVersion
Retrieves the runtime version via subscription https://polkadot.js.org/docs/substrate/rpc/#state
SubstrateRequestStateSubscribeStorage
Subscribes to storage changes for the provided keys https://polkadot.js.org/docs/substrate/rpc/#state
SubstrateRequestStateTraceBlock
Provides a way to trace the re-execution of a single block https://polkadot.js.org/docs/substrate/rpc/#state
SubstrateRequestStateTrieMigrationStatus
Check current migration state. https://polkadot.js.org/docs/substrate/rpc/#state
SubstrateRequestSyncStateGenSyncSpec
Returns the json-serialized chainspec running the node, with a sync state. https://polkadot.js.org/docs/substrate/rpc/#syncstate
SubstrateRequestSystemAddLogFilter
Adds the supplied directives to the current log filter https://polkadot.js.org/docs/substrate/rpc/#system
SubstrateRequestSystemAddReservedPeer
Adds a reserved peer https://polkadot.js.org/docs/substrate/rpc/#system
SubstrateRequestSystemChain
Retrieves the chain. https://polkadot.js.org/docs/substrate/rpc/#system
SubstrateRequestSystemChainType
Retrieves the chain type. https://polkadot.js.org/docs/substrate/rpc/#system
SubstrateRequestSystemDryRun
Dry run an extrinsic at a given block https://polkadot.js.org/docs/substrate/rpc/#system
SubstrateRequestSystemHealth
Return health status of the node https://polkadot.js.org/docs/substrate/rpc/#system
SubstrateRequestSystemLocalListenAddresses
The addresses include a trailing /p2p/ with the local PeerId, and are thus suitable to be passed to addReservedPeer or as a bootnode address for example https://polkadot.js.org/docs/substrate/rpc/#system
SubstrateRequestSystemLocalPeerId
Returns the base58-encoded PeerId of the node https://polkadot.js.org/docs/substrate/rpc/#system
SubstrateRequestSystemName
Retrieves the node name https://polkadot.js.org/docs/substrate/rpc/#system
SubstrateRequestSystemNetworkState
Returns current state of the network https://polkadot.js.org/docs/substrate/rpc/#system
SubstrateRequestSystemNodeRoles
Returns the roles the node is running as https://polkadot.js.org/docs/substrate/rpc/#system
SubstrateRequestSystemPeers
Returns the currently connected peers https://polkadot.js.org/docs/substrate/rpc/#system
SubstrateRequestSystemProperties
Get a custom set of properties as a JSON object, defined in the chain spec. https://polkadot.js.org/docs/substrate/rpc/#system
SubstrateRequestSystemRemoveReservedPeer
Remove a reserved peer This method is only active with appropriate flags https://polkadot.js.org/docs/substrate/rpc/#system
SubstrateRequestSystemReservedPeers
Returns the list of reserved peers https://polkadot.js.org/docs/substrate/rpc/#system
SubstrateRequestSystemResetLogFilter
Resets the log filter to Substrate defaults https://polkadot.js.org/docs/substrate/rpc/#system
SubstrateRequestSystemSyncState
Returns the state of the syncing of the node https://polkadot.js.org/docs/substrate/rpc/#system
SubstrateRequestSystemVersion
Retrieves the version of the node. https://polkadot.js.org/docs/substrate/rpc/#system
SubstrateSerialization<T>
SubstrateSr25519Signature
SubstrateVariantDecodeResult
SubstrateVariantSerialization
SyncStateResponse
SystemHealthResppnse
TransactionExtensionMetadata
TransactionExtrinsicInfo
TransactionPalyloadConst
TransactionPayload
TypeDefTuple
Represents a tuple of values in a type definition.
TypeTemlate
UnsupportedMetadata
VersionedMetadata<T extends SubstrateMetadata>

Mixins

JsonSerialization
LatestMetadataInterface<PALLET extends PalletMetadata<PalletStorageMetadata<StorageEntryMetadataV14>, PalletCallMetadata, PalletEventMetadata, PalletConstantMetadata, PalletErrorMetadata>>
Interface providing methods for interacting with the latest metadata in the Substrate framework.
MetadataApiInterface
Interface providing methods for interacting with metadata in the Substrate framework.
SubstrateServiceProvider
A mixin for providing substrate JSON-RPC service functionality.

Extensions

EventHelper on MetadataApi
QueryHelper on MetadataApi
Extension to assist with querying storage based on metadata
RuntimeCallHelper on MetadataApi
Extension to assist with runtime calls based on metadata
TransactionHelper on MetadataApi
Extension to help with transaction encoding based on metadata

Typedefs

SubstrateServiceResponse<T> = BaseServiceResponse<T>