@somnia-chain/markets-sdk / index / WithdrawVaultParams
Interface: WithdrawVaultParams
Defined in: trade.ts:285
Claim a payout that fell back to a pool's internal ERC20Vault (a
PayoutFallbackToVault credit) back to the caller's wallet.
Properties
vault
vault:
`0x${string}`
Defined in: trade.ts:288
The ERC20Vault to withdraw from — the pool address (BinaryPool/SpotPool ARE ERC20Vaults).
token
token:
`0x${string}`
Defined in: trade.ts:290
Token to withdraw (ERC-20 address, or the vault's native sentinel).
amount
amount:
bigint
Defined in: trade.ts:293
Amount to withdraw, raw units. Must be ≤ the vault's withdrawable balance
(read it with client.getVaultBalance).
gas?
optionalgas?:bigint
Defined in: trade.ts:294