v1

latestOpenAPI 3.0.32026-07-173986194.3 KB

Returns runtime transactions with the given transaction hash.

get/{runtime}/transactions/{tx_hash}

Path parameters

runtime'emerald' | 'sapphire' | 'pontusxtest' | 'pontusxdev' | 'cipher' required

The runtime which to query.

tx_hashstring required

The transaction hash of the transaction(s) to return. This can be an Ethereum transaction hash; the query will compare against both a transaction's regular tx_hash and eth_tx_hash (if it exists). This endpoint can return multiple transactions in extremely rare cases, e.g. when a hash matches multiple Oasis runtime transactions or both an Oasis runtime transaction and the eth_tx_hash of an evm-transaction.

Response

The requested runtime transactions.

total_countinteger required

The total number of records that match the query, i.e. the number of records the query would return with limit=infinity.

is_total_count_clippedboolean required

Whether total_count is clipped for performance reasons.

Example response

{
  "total_count": 412,
  "is_total_count_clipped": true,
  "transactions": [
    {
      "round": 3379702,
      "timestamp": "2022-10-15T00:05:34Z",
      "hash": "8394f682150e5f62b02f197d16b4769d032cb1c1b7a6dcf853ba1b12626e080b",
      "eth_hash": "9e6a5837c6366d4a7e477c71ffe32d40915cdef7ef209792259e5ee70caf2705",
      "signers": [
        {
          "address": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
          "nonce": 114194
        }
      ],
      "sender_0": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
      "nonce_0": 114194,
      "fee": "3000000000000000",
      "gas_limit": 30000,
      "oasis_encryption_envelope": {
        "format": "encrypted/x25519-deoxysii"
      },
      "method": "evm.Call",
      "body": {
        "address": "t1mAPucIdVnrYBpJOcLV2nZoOFo=",
        "data": "RBo+cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=\"",
        "value": ""
      },
      "is_likely_native_token_transfer": true,
      "to": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
      "amount": "100000001666393459",
      "amount_symbol": "ROSE",
      "encryption_envelope": {
        "format": "encrypted/x25519-deoxysii"
      },
      "evm_fn_name": "acceptTaskResults"
    }
  ]
}