pub trait GasAbstractionTrait {
// Required methods
fn quote_sponsored_transaction<'life0, 'async_trait>(
&'life0 self,
params: SponsoredTransactionQuoteRequest,
) -> Pin<Box<dyn Future<Output = Result<SponsoredTransactionQuoteResponse, RelayerError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn build_sponsored_transaction<'life0, 'async_trait>(
&'life0 self,
params: SponsoredTransactionBuildRequest,
) -> Pin<Box<dyn Future<Output = Result<SponsoredTransactionBuildResponse, RelayerError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Gas abstraction trait for relayers that support fee estimation and transaction preparation.
This trait provides a REST-friendly interface for gas abstraction operations, allowing clients to estimate fees and prepare transactions without using JSON-RPC.