pub trait GetTransactionPayment {
type Hash;
type Balance;
// Required methods
fn get_fee_details<'life0, 'life1, 'async_trait>(
&'life0 self,
encoded_extrinsic: &'life1 Bytes,
at_block: Option<Self::Hash>,
) -> Pin<Box<dyn Future<Output = Result<Option<FeeDetails<Self::Balance>>>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_payment_info<'life0, 'life1, 'async_trait>(
&'life0 self,
encoded_extrinsic: &'life1 Bytes,
at_block: Option<Self::Hash>,
) -> Pin<Box<dyn Future<Output = Result<Option<RuntimeDispatchInfo<Self::Balance>>>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}
Expand description
Interface to common calls of the substrate transaction payment pallet.