/axelar/nexus/v1beta1/transfer_fee - Axelar

Returns the fee Axelar charges to move an amount of an asset from a source chain to a destination chain.

Endpoint

httpGET /axelar/nexus/v1beta1/transfer_fee

Query Parameters

ParameterTypeDescription
source_chainstringSource chain name
destination_chainstringDestination chain name
amountstringAmount with denom, e.g. 1000000uaxl

Example

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

curl "${AXELAR_REST}axelar/nexus/v1beta1/transfer_fee?source_chain=ethereum&destination_chain=osmosis&amount=1000000uaxl"

Response

json{
    "fee": {
        "denom": "uaxl",
        "amount": "1000"
    }
}

Response Fields

FieldTypeDescription
feeobjectTransfer fee as {denom, amount}

Use Cases

  • Fee Preview: Show the cross-chain transfer fee
  • Routing: Budget a cross-chain transfer

Error Handling

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