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
Circle's API Keys are formatted in the following structure "PREFIX:ID:SECRET". All three parts are requred to make a successful request.
Body
Request body for generating funding presign data
List of contract trade IDs. A single ID returns single-trade typed data for delegate; more than one returns batch typed data. net_delegate always returns batch typed data, including for a single ID.
1The type of trader.
maker, taker Funding mode for the presign request. net and net_delegate are supported for maker funding requests only; delegate is supported for both maker and taker.
gross, net, delegate, net_delegate Address of the funder wallet that will deliver tokens on the trader's behalf. Required when fundingMode is delegate or net_delegate.
"0x1234567890abcdef1234567890abcdef12345678"
Address that receives the delivered tokens. Required when fundingMode is delegate or net_delegate.
"0xabcdef1234567890abcdef1234567890abcdef12"
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.