@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / index / CancelPerpWalletLinkProposalParams

Interface: CancelPerpWalletLinkProposalParams

Defined in: packages/sdk/src/trade.ts:1007

Inputs to Trader.cancelPerpWalletLinkProposal — withdraw an offer the signer made and the child has not accepted.

The signer is the MAIN. An accepted link is torn down with Trader.unlinkPerpWallet instead.

Extends

Properties

registry?

optional registry?: `0x${string}`

Defined in: packages/sdk/src/trade.ts:958

The LinkedWalletRegistry. Skips resolution entirely.

Inherited from

PerpWalletLinkTarget.registry


marginBank?

optional marginBank?: `0x${string}`

Defined in: packages/sdk/src/trade.ts:960

MarginBank address — its getLinkedWalletRegistry() is read (never cached).

Inherited from

PerpWalletLinkTarget.marginBank


pool?

optional pool?: `0x${string}`

Defined in: packages/sdk/src/trade.ts:962

A PerpPool — its marginBank() is read (and cached), then the registry.

Inherited from

PerpWalletLinkTarget.pool


gas?

optional gas?: bigint

Defined in: packages/sdk/src/trade.ts:968

Gas ceiling for this tx.

Default

TraderConfig.gas (10,000,000)

Inherited from

PerpWalletLinkTarget.gas


child

child: `0x${string}`

Defined in: packages/sdk/src/trade.ts:1009

The child whose pending offer to withdraw.