Runtime APIs
Substrate ships with the following runtime APIs:
BlockBuilder: Provides the functionality required for building a block.TaggedTransactionQueue: Handles validating transactions in the transaction queue.OffchainWorkerApi: Handles offchain capabilities.AuraApi: Handles block authorship with Aura consensus.SessionKeys: Generates and decodes session keys.GrandpaApi: Integrates the GRANDPA finality gadget into the runtime.AccountNonceApi: Handles querying transaction indices.TransactionPaymentApi: Handles querying information about transactions.Benchmark: Provides a way to benchmark a FRAME runtime.
Learn more
- How to design your custom runtime APIs using the
impl_runtime_apismacro
ON THIS PAGE
