transactions

Get transaction by hash

Returns detailed information about a transaction identified by its hexadecimal hash, including status, gas, fees, and signer. Returns 204 if the transaction is not found.

get/tx/{hash}

Path parameters

hashstring required

Transaction hash in hexadecimal

Response

OK

codespacestring string
errorstring string
events_countinteger
feestring int64
gas_usedinteger
gas_wantedinteger
hashstring binary
heightinteger
idinteger
memostring string
message_typesTypesMsgType[]
messages_countinteger
positioninteger
status'success' | 'failed'
timestring date-time
timeout_heightinteger

Example response

{
  "codespace": "sdk",
  "events_count": 2,
  "fee": "9348",
  "gas_used": 4253,
  "gas_wanted": 9348,
  "hash": "652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF",
  "height": 100,
  "id": 321,
  "memo": "Transfer to private account",
  "message_types": [
    "MsgSend",
    "MsgUnjail"
  ],
  "messages": [
    {
      "height": 100,
      "id": 321,
      "position": 2,
      "size": 2,
      "time": "2023-07-04T03:10:57+00:00",
      "tx_id": 11
    }
  ],
  "messages_count": 1,
  "position": 11,
  "signers": [
    {
      "celestials": {
        "image_url": "https://ipfs.io/ipfs/QmUi269vE25fagqhyMCCTNSoiW6x4LHCwwQb3keSrEXAmC",
        "name": "name",
        "primary": true,
        "status": "VERIFIED"
      },
      "hash": "celestia1jc92qdnty48pafummfr8ava2tjtuhfdw774w60"
    }
  ],
  "time": "2023-07-04T03:10:57+00:00"
}

Changes