@openzeppelin/relayer-sdk
Version:
OpenZeppelin Relayer SDK
45 lines (44 loc) • 1.54 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 { OperationSpec } from './operation-spec';
/**
*
* @export
* @interface StellarFeeEstimateRequestParams
*/
export interface StellarFeeEstimateRequestParams {
[key: string]: any;
/**
* Asset identifier for fee token. For classic: \"native\" or \"USDC:GA5Z...\" format. For Soroban: contract address (C...) format.
* @type {string}
* @memberof StellarFeeEstimateRequestParams
*/
'fee_token': string;
/**
* Operations array to build transaction from Mutually exclusive with transaction_xdr field
* @type {Array<OperationSpec>}
* @memberof StellarFeeEstimateRequestParams
*/
'operations'?: Array<OperationSpec>;
/**
* Source account address (required when operations are provided) For sponsored transactions, this should be the user\'s account address
* @type {string}
* @memberof StellarFeeEstimateRequestParams
*/
'source_account'?: string;
/**
* Pre-built transaction XDR (base64 encoded, signed or unsigned) Mutually exclusive with operations field. For Soroban gas abstraction: pass XDR containing InvokeHostFunction operation.
* @type {string}
* @memberof StellarFeeEstimateRequestParams
*/
'transaction_xdr'?: string;
}