Generate funding presign data
Returns the Permit2 EIP-712 payload that the trader must sign for funding operations. fundingMode net and net_delegate options are supported for maker funding requests only.
When fundingMode is delegate or net_delegate, the response instead contains two typed-data payloads: one for the trader to sign (a zero-amount authorization) and one for the funder to sign (carrying the actual delivery amount). Both require funderAddress and recipientAddress. delegate supports both maker and taker, and returns single-trade typed data for one contract trade ID or batch typed data for more than one. net_delegate is maker-only, requires every given trade to already be taker_funded, nets deliverables minus receivables across the given contract trade IDs into a single payment obligation, and always returns batch typed data — even for a single contract trade ID.
Authorizations
Body
Request body for generating funding presign data
Response
Funding presign data generated successfully
- TraderFundingPresign
- DelegateFundingPresign
- BatchDelegateFundingPresign
Response containing Permit2 EIP-712 typed data for funding operations. For gross and net funding modes, contains the trader's Permit2 typed data along with deliverables and receivables. For delegate funding mode with a single contract trade ID, contains separate single-trade typed-data payloads for the trader and the funder. For delegate with more than one contract trade ID, or for net_delegate (any trade count), contains separate batch typed-data payloads instead. No discriminator is defined because the response body carries no fundingMode field; the variant is determined by the fundingMode/contractTradeIds sent in the request, and the variants have mutually exclusive required properties.