@openzeppelin/relayer-sdk
Version:
OpenZeppelin Relayer SDK
20 lines (19 loc) • 1.17 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 { SolanaPrepareTransactionRequestParams } from './solana-prepare-transaction-request-params';
import type { StellarPrepareTransactionRequestParams } from './stellar-prepare-transaction-request-params';
/**
* @type SponsoredTransactionBuildRequest
* Network-agnostic prepare transaction request parameters for gasless transactions. Contains network-specific request parameters for preparing transactions with fee payments. 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 - Soroban: Pass transaction_xdr containing InvokeHostFunction, user_address, and contract fee token
* @export
*/
export type SponsoredTransactionBuildRequest = SolanaPrepareTransactionRequestParams | StellarPrepareTransactionRequestParams;