#![cfg_attr(not(feature = "std"), no_std)]
#![allow(clippy::too_many_arguments)]
#![allow(clippy::unnecessary_mut_passed)]
#![allow(rustdoc::bare_urls)]
#![deny(
rustdoc::broken_intra_doc_links,
rustdoc::missing_crate_level_docs,
rustdoc::invalid_codeblock_attributes,
missing_docs
)]
use frame_support::sp_runtime;
use parity_scale_codec::Codec;
use sp_runtime::traits::MaybeDisplay;
pub use pallet_transaction_payment::{FeeDetails, InclusionFee};
sp_api::decl_runtime_apis! {
#[api_version(1)]
pub trait CapacityTransactionPaymentRuntimeApi<Balance> where
Balance: Codec + MaybeDisplay,
{
fn compute_capacity_fee(uxt: Block::Extrinsic, len: u32) ->FeeDetails<Balance>;
}
}