{s}omniamarkets

@somnia-chain/markets-sdk


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

Interface: Permit2TransferFrom

Defined in: trade.ts:582

A canonical Permit2 PermitTransferFrom — the signed authorization the Permit2 mint path forwards to the router (which relays it to Permit2). Build it (and the EIP-712 signature) with a Permit2 SDK on the app side.

Properties

permitted

permitted: object

Defined in: trade.ts:584

Token + amount the signature authorizes. token must equal the market collateral.

token

token: `0x${string}`

amount

amount: bigint


nonce

nonce: bigint

Defined in: trade.ts:586

Unordered Permit2 nonce.


deadline

deadline: bigint

Defined in: trade.ts:588

Signature deadline (unix seconds).