Skip to content

@swapped/connect-sdk / core / SendPreparedWalletTransactionRequest

Type Alias: SendPreparedWalletTransactionRequest ​

SendPreparedWalletTransactionRequest = object

Defined in: src/types/wallets.types.ts:235

Properties ​

clientTxId? ​

optional clientTxId?: string

Defined in: src/types/wallets.types.ts:238


forcePopup? ​

optional forcePopup?: boolean

Defined in: src/types/wallets.types.ts:246

Always run this send in the Swapped popup.


isSponsored? ​

optional isSponsored?: boolean

Defined in: src/types/wallets.types.ts:243

Must match isSponsored sent to /swap / /swap/quote.


onClientTxId? ​

optional onClientTxId?: (clientTxId) => void

Defined in: src/types/wallets.types.ts:239

Parameters ​

clientTxId ​

string

Returns ​

void


onStatus? ​

optional onStatus?: (event) => void

Defined in: src/types/wallets.types.ts:244

Parameters ​

event ​

WalletTransactionStatusEvent

Returns ​

void


popupIfUnavailable? ​

optional popupIfUnavailable?: boolean

Defined in: src/types/wallets.types.ts:250

If the iframe cannot see this wallet, open the popup instead of failing.


requestId? ​

optional requestId?: string

Defined in: src/types/wallets.types.ts:241


sessionId? ​

optional sessionId?: string

Defined in: src/types/wallets.types.ts:240


transaction ​

transaction: unknown

Defined in: src/types/wallets.types.ts:237


walletId ​

walletId: WalletId

Defined in: src/types/wallets.types.ts:236