/axelar/nexus/v1beta1/latest_deposit_address - Axelar

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

ParameterTypeDescription
recipient_addrstringRecipient address on the destination chain
recipient_chainstringDestination chain name
deposit_chainstringChain 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

FieldTypeDescription
addressstringDeposit address to send bridged assets to

Use Cases

  • Bridging: Get a deposit address for a transfer
  • Wallets: Show the bridge deposit target

Error Handling

ErrorMessageDescription
400 / Bad requestBad requestA parameter was invalid
403 / RBAC: access deniedAccess deniedThe GetBlock access token is missing or incorrect