Registry / networking / pallet-transaction-payment-rpc-runtime-api

pallet-transaction-payment-rpc-runtime-api

JSON →
library48.0.0rscratesunverified

Provides the RPC runtime API for querying transaction payment information in Substrate-based chains.

# Cargo.toml [dependencies] pallet-transaction-payment-rpc-runtime-api = "48.0.0"
INSTALL
IMPORT
SIG · PALLET-TRANSACTION
P
pallet-transaction-payment-rpc-runtime-api
networkingrustv48.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TransactionPaymentApi
✓ use pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi;

Query transaction payment info using the runtime API.

use pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi; fn query_fee<T: TransactionPaymentApi<Block>>(api: &T, block: Block) { let info = api.query_info(block, vec![].into(), vec![]); }
Debug
Known issues
gotchaRequires Substrate runtime environment and specific feature flags.
fix
Enable the 'std' feature and ensure compatibility with your Substrate version.
affects: >=48.0.0
Upgrade
Version history
48.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
pallet-transaction-payment-rpc-runtime-api — cargo add pallet-transaction-payment-rpc-runtime-api · libregistry