@somnia-chain/markets-sdk / index / UnlinkPerpWalletParams
Interface: UnlinkPerpWalletParams
Defined in: packages/sdk/src/trade.ts:1020
Inputs to Trader.unlinkPerpWallet — dissolve an accepted link.
Works from either end: pass the OTHER party and the registry resolves which side is the main.
Extends
Properties
registry?
optionalregistry?:`0x${string}`
Defined in: packages/sdk/src/trade.ts:958
The LinkedWalletRegistry. Skips resolution entirely.
Inherited from
marginBank?
optionalmarginBank?:`0x${string}`
Defined in: packages/sdk/src/trade.ts:960
MarginBank address — its getLinkedWalletRegistry() is read (never cached).
Inherited from
PerpWalletLinkTarget.marginBank
pool?
optionalpool?:`0x${string}`
Defined in: packages/sdk/src/trade.ts:962
A PerpPool — its marginBank() is read (and cached), then the registry.
Inherited from
gas?
optionalgas?:bigint
Defined in: packages/sdk/src/trade.ts:968
Gas ceiling for this tx.
Default
TraderConfig.gas (10,000,000)
Inherited from
counterparty
counterparty:
`0x${string}`
Defined in: packages/sdk/src/trade.ts:1022
The other party to the link — the signer's main, or one of its children.