API Reference

Fund trades

posthttps://api.circle.com/v1/exchange/stablefx/fund

  • Reference
  • Playground

Executes funding for trades using Permit2 signatures. This endpoint relays the signed permit data to complete the funding operation for trades.

Body parameters
permit2
object
Required

The Permit2 message object, either single or batch

option 1: object
permitted
object
Required

Token permissions for Permit2

token
string
Required

The token contract address

amount
string
Required

The amount of tokens permitted, as a string representation of a uint256.

spender
string
Required

The spender contract address

nonce
string
Required

The nonce for the permit

deadline
string
Required

The deadline timestamp for the permit

witness
object
Required

Single trade witness data

id
string
Required

The trade ID

option 2: object
permitted
array of objects
Required

Array of token permissions

token
string
Required

The token contract address

amount
string
Required

The amount of tokens permitted, as a string representation of a uint256.

spender
string
Required

The spender contract address

nonce
string
Required

The nonce for the permit, as a string representation of a uint256.

deadline
string
Required

The deadline timestamp for the permit

witness
object
Required

Batch trade witness data with multiple IDs

ids
array of strings
Required

Array of trade IDs

signature
string
Required

The Permit2 signature

type
string
Required

The type of trade.

Allowed valuesmakertaker
fundingMode
object
Response
RequestChoose a language
Did this page help you?
© 2023-2025 Circle Technology Services, LLC. All rights reserved.