Skip to main content
POST
/
api
/
v1
/
depositAddresses
/
gateway
/
polygon
Generate Gateway deposit address
curl --request POST \
  --url https://deposit-addresses.eco.com/api/v1/depositAddresses/gateway/polygon \
  --header 'Content-Type: application/json' \
  --data '
{
  "chainId": 8453,
  "depositor": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
  "evmDestinationAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"
}
'
{
  "data": {
    "chainId": 123,
    "evmDepositAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
    "depositor": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
    "factoryAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
    "isDeployed": true,
    "lastCheckedBalance": "<string>",
    "deploymentTxHash": "<string>",
    "deploymentBlockNumber": "<string>",
    "createdAt": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://eco.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
chainId
enum<integer>
required

Source chain. Mainnet: 8453 (Base), 10 (Optimism), 42161 (Arbitrum). Preproduction: 84532, 11155420, 421614.

Available options:
8453,
10,
42161,
84532,
11155420,
421614
depositor
string
required

Authorized for refunds if the intent expires

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

"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"

evmDestinationAddress
string
required

Recipient credited on Gateway (Polygon)

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

"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"

Response

201 - application/json

Deposit address (deterministic — same inputs always return the same address)

data
object