@somnia-chain/markets-sdk / index / AcceptPerpWalletLinkParams
Interface: AcceptPerpWalletLinkParams
Defined in: packages/sdk/src/trade.ts:1105
Inputs to Trader.acceptPerpWalletLink — accept a main's standing offer.
The signer is the CHILD. From here the child's position-increasing orders can
draw on main's wallet.
Extends
Properties
registry?
optionalregistry?:`0x${string}`
Defined in: packages/sdk/src/trade.ts:1070
The LinkedWalletRegistry. Skips resolution entirely.
Inherited from
marginBank?
optionalmarginBank?:`0x${string}`
Defined in: packages/sdk/src/trade.ts:1072
MarginBank address — its getLinkedWalletRegistry() is read (never cached).
Inherited from
PerpWalletLinkTarget.marginBank
pool?
optionalpool?:`0x${string}`
Defined in: packages/sdk/src/trade.ts:1074
A PerpPool — its marginBank() is read (and cached), then the registry.
Inherited from
gas?
optionalgas?:bigint
Defined in: packages/sdk/src/trade.ts:1080
Gas ceiling for this tx.
Default
TraderConfig.gas (10,000,000)
Inherited from
main
main:
`0x${string}`
Defined in: packages/sdk/src/trade.ts:1107
The main whose offer to accept. It must have an offer standing for the signer.