https://deposit-addresses-preproduction.eco.com
Endpoints
Generate Programmable Address
Generate or retrieve a programmable address for a destination.201 Created on success.
Request Body
| Field | Type | Description |
|---|---|---|
chainId | number | Source chain ID. Currently only Base (8453) is supported. More chains coming soon |
solanaAddress | string | Destination Solana wallet (base58 encoded, 32-44 characters) |
depositor | string | EVM address authorized to claim refunds if the intent expires unfulfilled |
Response
| Field | Type | Description |
|---|---|---|
chainId | number | Source chain ID |
evmDepositAddress | string | Programmable address to send tokens to |
solanaAddress | string | Solana destination (hex format) |
depositor | string | Authorized refund address |
factoryAddress | string | Factory that manages this address |
isDeployed | boolean | Whether contract is deployed |
lastCheckedBalance | string | Last known balance |
deploymentTxHash | string | null | Deployment transaction hash |
createdAt | string | Creation timestamp (ISO 8601) |
Error Response
Get Programmable Address
Retrieve details for an existing programmable address.Path Parameters
| Parameter | Type | Description |
|---|---|---|
evmAddress | string | EVM programmable address |
Response
Error Response
Query Programmable Addresses
Query programmable addresses with optional filters.Query Parameters
| Parameter | Type | Description |
|---|---|---|
chainId | number | Filter by chain ID |
factoryAddress | string | Filter by factory address |
solanaAddress | string | Filter by Solana address (hex format) |
depositor | string | Filter by depositor address |
evmDepositAddress | string | Filter by EVM deposit address |
isDeployed | boolean | Filter by deployment status |
Response
Validation
solanaAddress
- Must be a valid base58 Solana address
- Length: 32-44 characters
- Pattern:
^[1-9A-HJ-NP-Za-km-z]{32,44}$
depositor
- Must be a valid Ethereum address
chainId
- Must be a number >= 1
