Txs

GetTxs InjectiveExplorerRPC

get

GetTxs returns transactions based upon the request params

Query parameters
beforeintegerOptionalExample: 8776184634824322000
afterintegerOptionalExample: 1717467913534918400
limitinteger · int64OptionalExample: 4002560432622224000
skipintegerOptionalExample: 16263822659995286000
typestringOptionalExample: Cupiditate natus voluptatibus et ullam totam.
modulestringOptionalExample: Odit alias.
from_numberinteger · int64OptionalExample: 7980811612058203000
to_numberinteger · int64OptionalExample: 3722035473165573600
start_timeinteger · int64Optional

The starting timestamp in UNIX milliseconds that the txs must be equal or older than

Example: 1645579770
end_timeinteger · int64Optional

The ending timestamp in UNIX milliseconds that the txs must be equal or younger than

Example: 1645579787
statusstring · enumOptional

The status of the txs to be returned

Example: successPossible values:
Responses
200
OK response.
application/json
get
GET /api/explorer/v1/txs HTTP/1.1
Host: inj-indexer.nownodes.io
Accept: */*
{
  "data": [
    {
      "block_number": 12096032869960399000,
      "block_timestamp": "1982-06-19T15:39:06Z",
      "claim_ids": [
        3873692323631982600,
        5450697942010433000
      ],
      "code": 2092492935,
      "codespace": "Magni maiores in incidunt.",
      "error_log": "Asperiores hic necessitatibus quo tempora sunt.",
      "hash": "Ut asperiores repellendus.",
      "id": "Voluptate sunt temporibus eveniet ullam aut.",
      "logs": "VXQgc2l0Lg==",
      "messages": "VXQgbGFib3J1bS4=",
      "tx_msg_types": "UXVpYSB0b3RhbS4=",
      "tx_number": 12001273661897265000
    },
    {
      "block_number": 12096032869960399000,
      "block_timestamp": "1982-06-19T15:39:06Z",
      "claim_ids": [
        3873692323631982600,
        5450697942010433000
      ],
      "code": 2092492935,
      "codespace": "Magni maiores in incidunt.",
      "error_log": "Asperiores hic necessitatibus quo tempora sunt.",
      "hash": "Ut asperiores repellendus.",
      "id": "Voluptate sunt temporibus eveniet ullam aut.",
      "logs": "VXQgc2l0Lg==",
      "messages": "VXQgbGFib3J1bS4=",
      "tx_msg_types": "UXVpYSB0b3RhbS4=",
      "tx_number": 12001273661897265000
    },
    {
      "block_number": 12096032869960399000,
      "block_timestamp": "1982-06-19T15:39:06Z",
      "claim_ids": [
        3873692323631982600,
        5450697942010433000
      ],
      "code": 2092492935,
      "codespace": "Magni maiores in incidunt.",
      "error_log": "Asperiores hic necessitatibus quo tempora sunt.",
      "hash": "Ut asperiores repellendus.",
      "id": "Voluptate sunt temporibus eveniet ullam aut.",
      "logs": "VXQgc2l0Lg==",
      "messages": "VXQgbGFib3J1bS4=",
      "tx_msg_types": "UXVpYSB0b3RhbS4=",
      "tx_number": 12001273661897265000
    }
  ],
  "paging": {
    "countBySubaccount": 3144167030999342600,
    "from": 1916499695,
    "next": [
      "Ea rerum.",
      "Aut dolorem cum voluptas quae.",
      "Voluptas repellendus qui ipsam est."
    ],
    "to": 391437627,
    "total": 7364854934794692000
  }
}

GetTxByTxHash InjectiveExplorerRPC

get

GetTxByTxHash returns certain transaction information by its tx hash.

Path parameters
hashstringRequiredExample: Illum quos.
Responses
200
OK response.
application/json
get
GET /api/explorer/v1/txs/{hash} HTTP/1.1
Host: inj-indexer.nownodes.io
Accept: */*
{
  "data": {
    "block_number": 8314399180387247000,
    "block_timestamp": "1993-04-25T20:59:11Z",
    "block_unix_timestamp": 11376347445097038000,
    "claim_ids": [
      3168973390518163500,
      903561676231749600,
      381101834913989200
    ],
    "code": 1728740547,
    "codespace": "Itaque laudantium inventore dolor non.",
    "data": "TW9sZXN0aWFlIGFuaW1pIGNvbnNlY3RldHVyIHF1aWEu",
    "error_log": "Velit velit esse harum ipsum incidunt sit.",
    "events": [
      {
        "attributes": {
          "Alias sint sed a ullam deleniti et.": "Quod similique.",
          "Corrupti a velit ad.": "Est dolor.",
          "Dolorem repellat nulla quaerat reprehenderit quia.": "Qui aliquam omnis."
        },
        "type": "Consequatur et dolor odit ipsum neque."
      },
      {
        "attributes": {
          "Alias sint sed a ullam deleniti et.": "Quod similique.",
          "Corrupti a velit ad.": "Est dolor.",
          "Dolorem repellat nulla quaerat reprehenderit quia.": "Qui aliquam omnis."
        },
        "type": "Consequatur et dolor odit ipsum neque."
      }
    ],
    "gas_fee": {
      "amount": [
        {
          "amount": "10000000000000000000",
          "denom": "inj"
        },
        {
          "amount": "10000000000000000000",
          "denom": "inj"
        },
        {
          "amount": "10000000000000000000",
          "denom": "inj"
        },
        {
          "amount": "10000000000000000000",
          "denom": "inj"
        }
      ],
      "gas_limit": 5325440998129688000,
      "granter": "Ea ut molestias reiciendis itaque.",
      "payer": "Quas voluptatum."
    },
    "gas_used": 6907220529879614000,
    "gas_wanted": 1536953326908131300,
    "hash": "Est et nemo quis nemo.",
    "id": "Vel nobis.",
    "info": "Sed sit.",
    "logs": "UXVpYSB2ZWxpdCBxdWku",
    "memo": "Consequatur voluptatem.",
    "messages": "RmFjaWxpcyBhYiBpbXBlZGl0IHZlcml0YXRpcyBiZWF0YWUgZW5pbS4=",
    "signatures": [
      {
        "address": "Deleniti omnis omnis est sint veritatis.",
        "pubkey": "Temporibus cumque quasi aut fugiat voluptas ab.",
        "sequence": 13860614979966204000,
        "signature": "Nesciunt velit voluptas."
      },
      {
        "address": "Deleniti omnis omnis est sint veritatis.",
        "pubkey": "Temporibus cumque quasi aut fugiat voluptas ab.",
        "sequence": 13860614979966204000,
        "signature": "Nesciunt velit voluptas."
      },
      {
        "address": "Deleniti omnis omnis est sint veritatis.",
        "pubkey": "Temporibus cumque quasi aut fugiat voluptas ab.",
        "sequence": 13860614979966204000,
        "signature": "Nesciunt velit voluptas."
      }
    ],
    "tx_number": 14619497193746444000,
    "tx_type": "Sit nihil ut vitae assumenda ipsam."
  },
  "errmsg": "Something has failed",
  "s": "error"
}