Returns the latest generated deposit address for a cross-chain transfer to a recipient on a destination chain. Sending assets to this address bridges them to the recipient.
Endpoint
httpGET /axelar/nexus/v1beta1/latest_deposit_address
Query Parameters
| Parameter | Type | Description |
|---|
| recipient_addr | string | Recipient address on the destination chain |
| recipient_chain | string | Destination chain name |
| deposit_chain | string | Chain the deposit is made on |
Example
bashexport AXELAR_REST=https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/
curl "${AXELAR_REST}axelar/nexus/v1beta1/latest_deposit_address?recipient_addr=0xAbC...&recipient_chain=ethereum&deposit_chain=Axelarnet"
Response
json{
"address": "axelar1nl7dg3xj9j2y6q7z0v4w8c2b5d1f3g6h9k2m4p"
}
Response Fields
| Field | Type | Description |
|---|
| address | string | Deposit address to send bridged assets to |
Use Cases
- Bridging: Get a deposit address for a transfer
- Wallets: Show the bridge deposit target
Error Handling
| Error | Message | Description |
|---|
| 400 / Bad request | Bad request | A parameter was invalid |
| 403 / RBAC: access denied | Access denied | The GetBlock access token is missing or incorrect |