Skip to main content
POST
/
circle-gateway
/
v2
/
depositAddresses
Create a quoted Circle Gateway deposit vault
curl --request POST \
  --url https://api.eco.com/circle-gateway/v2/depositAddresses \
  --header 'Content-Type: application/json' \
  --data '
{
  "sourceChainId": 8453,
  "amount": "1000000",
  "recipient": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
  "depositor": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
  "refundRecipient": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"
}
'
{
  "data": {
    "vaultAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
    "amount": "1000000",
    "deadline": 1798915200
  }
}

Body

application/json
sourceChainId
number
required

Source chain ID for the USDC transfer. Mainnet: 8453 (Base), 10 (Optimism), 42161 (Arbitrum).

Example:

8453

amount
string
required

Required positive integer source-chain USDC amount in base units.

Example:

"1000000"

recipient
string
required

Gateway depositFor target on the destination chain.

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"

depositor
string
required

Address that will fund the vault.

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"

refundRecipient
string

Address that receives expiry refunds. Defaults to depositor.

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"

Response

Quoted vault created successfully

data
object
required