{"id":59254,"library":"pallet-transaction-payment-rpc-runtime-api","title":"Pallet Transaction Payment RPC Runtime API","description":"Provides the RPC runtime API for querying transaction payment information in Substrate-based chains.","status":"active","version":"48.0.0","language":"rust","source_language":null,"source_url":"https://github.com/paritytech/polkadot-sdk","tags":["substrate","polkadot","rpc","transaction","payment"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\npallet-transaction-payment-rpc-runtime-api = \"48.0.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add pallet-transaction-payment-rpc-runtime-api","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"TransactionPaymentApi","correct":"use pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi;"}],"quickstart":{"code":"use pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi;\nfn query_fee<T: TransactionPaymentApi<Block>>(api: &T, block: Block) {\n    let info = api.query_info(block, vec![].into(), vec![]);\n}","lang":"rust","description":"Query transaction payment info using the runtime API."},"warnings":[{"fix":"Enable the 'std' feature and ensure compatibility with your Substrate version.","message":"Requires Substrate runtime environment and specific feature flags.","severity":"gotcha","affected_versions":">=48.0.0"}],"env_vars":null,"search_vec":"'api':6,11 'base':20 'chain':21 'inform':16 'pallet':1 'payment':3,15,26 'polkadot':23 'provid':7 'queri':13 'rpc':4,9,24 'runtim':5,10 'substrat':19,22 'substrate-bas':18 'transact':2,14,25","created_at":"2026-06-16T16:56:09.090129+00:00","updated_at":"2026-06-16T16:56:09.090129+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://paritytech.github.io/polkadot-sdk/","github":"https://github.com/paritytech/polkadot-sdk","docs":"https://docs.rs/pallet-transaction-payment-rpc-runtime-api/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking","other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}