/axelar/evm/v1beta1/gateway_address - Axelar

Returns the address of the Axelar Gateway contract deployed on a given EVM chain. The gateway is the on-chain entry point for cross-chain calls and transfers.

Endpoint

httpGET /axelar/evm/v1beta1/gateway_address

Query Parameters

ParameterTypeDescription
chainstringEVM chain name

Example

bashexport AXELAR_REST=https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

curl "${AXELAR_REST}axelar/evm/v1beta1/gateway_address?chain=ethereum"

Response

json{
    "address": "0x4F4495243837681061C4743b74B3eEdf548D56A5"
}

Response Fields

FieldTypeDescription
addressstringAxelar Gateway contract address on the EVM chain

Use Cases

  • GMP: Resolve the gateway to send cross-chain messages
  • Integrations: Wire up an EVM chain's Axelar entry point

Error Handling

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