@openzeppelin/relayer-sdk
Version:
OpenZeppelin Relayer SDK
20 lines (19 loc) • 1.12 kB
TypeScript
/**
* OpenZeppelin Relayer API
* OpenZeppelin Relayer API
*
* The version of the OpenAPI document: 1.3.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import type { SolanaFeeEstimateRequestParams } from './solana-fee-estimate-request-params';
import type { StellarFeeEstimateRequestParams } from './stellar-fee-estimate-request-params';
/**
* @type SponsoredTransactionQuoteRequest
* Network-agnostic fee estimate request parameters for gasless transactions. Contains network-specific request parameters for fee estimation. The network type is inferred from the relayer\'s network configuration. For Stellar, supports both classic and Soroban gas abstraction: - Classic: Pass operations or transaction_xdr with classic fee token (native/USDC:GA...) - Soroban: Pass transaction_xdr containing InvokeHostFunction, user_address, and contract fee token (C...)
* @export
*/
export type SponsoredTransactionQuoteRequest = SolanaFeeEstimateRequestParams | StellarFeeEstimateRequestParams;