ChainApi
export interface ChainApi {
rpc: ChainJsonRpcApis; // json-rpc methods
consts: ChainConsts; // runtime constants
query: ChainStorage; // on-chain storage queries
errors: ChainErrors; // on-chain errors
events: ChainEvents; // on-chain events
call: RuntimeApis; // runtime apis
tx: ChainTx<ChainKnownTypes>; // transactions
types: ChainKnownTypes; // known chain types from the runtime (Address, Signature, AssetId ...)
}Access ChainApi interfaces
ChainApi interfacesKnown ChainApi interfaces defined in @dedot/chaintypes package
ChainApi interfaces defined in @dedot/chaintypes packageGenerate ChainApi interface using Dedot's CLI
ChainApi interface using Dedot's CLIUsing ChainApi interface
ChainApi interface
Last updated