Skip to content

@swapped/connect-sdk / core / SendPreparedWalletTransactionRequest

Type Alias: SendPreparedWalletTransactionRequest ​

SendPreparedWalletTransactionRequest = object

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

Properties ​

clientTxId? ​

optional clientTxId?: string

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


forcePopup? ​

optional forcePopup?: boolean

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

Always run this send in the Swapped popup.


isSponsored? ​

optional isSponsored?: boolean

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

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


onClientTxId? ​

optional onClientTxId?: (clientTxId) => void

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

Parameters ​

clientTxId ​

string

Returns ​

void


onStatus? ​

optional onStatus?: (event) => void

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

Parameters ​

event ​

WalletTransactionStatusEvent

Returns ​

void


popupIfUnavailable? ​

optional popupIfUnavailable?: boolean

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

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


requestId? ​

optional requestId?: string

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


sessionId? ​

optional sessionId?: string

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


transaction ​

transaction: unknown

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


walletId ​

walletId: WalletId

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