Documentation ¶
Index ¶
Constants ¶
const (
ApiModuleName = "AccountNonceApi"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
Module implements the AccountNonceApi Runtime API definition.
For more information about API definition, see: https://spec.polkadot.network/chap-runtime-api#id-module-accountnonceapi
func (Module) AccountNonce ¶
AccountNonce returns the account nonce of given AccountId. It takes two arguments: - dataPtr: Pointer to the data in the Wasm memory. - dataLen: Length of the data. which represent the SCALE-encoded AccountId. Returns a pointer-size of the SCALE-encoded nonce of the AccountId.
For more information about function definition, see: https://spec.polkadot.network/chap-runtime-api#sect-accountnonceapi-account-nonce
func (Module) Item ¶
Item returns the first 8 bytes of the Blake2b hash of the name and version of the api module.
func (Module) Metadata ¶
func (m Module) Metadata() types.RuntimeApiMetadata
Metadata returns the runtime api metadata of the module.