Skip to main content

RelayResponse

intentIdIntentIdrequired

<sender bech32>:<nonce> - the natural intent key (sender, nonce).

Possible values: Value must match regular expression ^erd1[02-9ac-hj-np-z]{58}:[0-9]{1,20}$

txHashTxHashrequired

Possible values: Value must match regular expression ^[0-9a-f]{64}$

relayerAddressrequired

MultiversX bech32 address.

Possible values: Value must match regular expression ^erd1[02-9ac-hj-np-z]{58}$

Example: erd1mf4u0jr6786wtz7s7dj6gmpyfafg8e0exh5wvye5cygvvxyyxhpsmj8q0e
stateIntentStaterequired

Possible values: [ASSIGNED, RECEIVED, REJECTED, ACCEPTED, COSIGNED, BROADCAST, EXECUTED_OK, EXECUTED_FAIL, DEAD, EXPIRED_LOCALLY_STILL_VALID]

ruinteger<int64>required

Relay Units.

Possible values: >= 0

receivedAtMsinteger<int64>required

Unix time in milliseconds.

Possible values: >= 0

cosignedAtMsinteger<int64>required

Unix time in milliseconds.

Possible values: >= 0

broadcastAtMs(integer | null)<int64>nullable
acks object[]required
  • Array [
  • gatewaystringrequired

    The ID of the gateway that acknowledged the transaction, such as G1.

    msintegerrequired

    Milliseconds from cosignedAtMs to the acknowledgement.

    viastring

    Which node sent it.

    Possible values: [owner, peer, witness]

  • ]
  • duplicateboolean

    True on an idempotent replay of identical bytes.

    accountAddress

    MultiversX bech32 address.

    Possible values: Value must match regular expression ^erd1[02-9ac-hj-np-z]{58}$

    Example: erd1mf4u0jr6786wtz7s7dj6gmpyfafg8e0exh5wvye5cygvvxyyxhpsmj8q0e
    billing object
    authModeAuthMode

    Possible values: [own_account, authorized_sender, api_key, free_list, internal]

    ruCapReservedinteger<int64>

    Relay Units.

    Possible values: >= 0

    ruPaygReservedinteger<int64>

    Relay Units.

    Possible values: >= 0

    stuckReasonStuckReason

    Possible values: [RELAYER_UNDERFUNDED, CHAIN_STALLED, NOT_IN_POOL]

    advisorystring

    Set when the state is EXPIRED_LOCALLY_STILL_VALID. It tells the user that broadcasting has stopped, that the transaction has not executed but is still valid, and that using its nonce (with Cancel or any other transaction) makes it impossible.

    statusUrlstring<uri>
    eventsUrlstring<uri>
    RelayResponse
    {
    "intentId": "string",
    "txHash": "string",
    "relayer": "erd1mf4u0jr6786wtz7s7dj6gmpyfafg8e0exh5wvye5cygvvxyyxhpsmj8q0e",
    "state": "ASSIGNED",
    "ru": 0,
    "receivedAtMs": 0,
    "cosignedAtMs": 0,
    "broadcastAtMs": 0,
    "acks": [
    {
    "gateway": "string",
    "ms": 0,
    "via": "owner"
    }
    ],
    "duplicate": true,
    "account": "erd1mf4u0jr6786wtz7s7dj6gmpyfafg8e0exh5wvye5cygvvxyyxhpsmj8q0e",
    "billing": {
    "authMode": "own_account",
    "ruCapReserved": 0,
    "ruPaygReserved": 0
    },
    "stuckReason": "RELAYER_UNDERFUNDED",
    "advisory": "string",
    "statusUrl": "string",
    "eventsUrl": "string"
    }