Skip to content

@swapped/connect-sdk / core / CoinbaseWithdrawalAmountAdjustment

Type Alias: CoinbaseWithdrawalAmountAdjustment ​

CoinbaseWithdrawalAmountAdjustment = object

Defined in: src/types/coinbase.types.ts:115

Payload passed to StartCoinbaseWithdrawalOptions.onAmountAdjusted when Coinbase.startWithdrawal caps an above-spendable amount to the fee-reserve max.

Properties ​

adjustedAmount ​

adjustedAmount: number

Defined in: src/types/coinbase.types.ts:119


currency ​

currency: TokenSymbol

Defined in: src/types/coinbase.types.ts:117


feeReserve ​

feeReserve: number

Defined in: src/types/coinbase.types.ts:123

Fee reserve held back from the max, in crypto units.


feeReserveFiat ​

feeReserveFiat: number

Defined in: src/types/coinbase.types.ts:125

Fee reserve in fiat (currently USD) - config.coinbase.minWithdrawalFeeFiat.


formatted ​

formatted: object

Defined in: src/types/coinbase.types.ts:126

adjustedAmount ​

adjustedAmount: string

feeReserve ​

feeReserve: string

feeReserveFiat ​

feeReserveFiat: string

requestedAmount ​

requestedAmount: string


maxAmount ​

maxAmount: number

Defined in: src/types/coinbase.types.ts:121


minAmount ​

minAmount: number

Defined in: src/types/coinbase.types.ts:120


reason ​

reason: "above_spendable"

Defined in: src/types/coinbase.types.ts:116


requestedAmount ​

requestedAmount: number

Defined in: src/types/coinbase.types.ts:118