Skip to main content
GET
/
transactions
/
by_hash
/
{txn_hash}
Get transaction by hash
curl --request GET \
  --url https://api.us1.shinami.com/aptos/node/v1/transactions/by_hash/{txn_hash} \
  --header 'Authorization: Bearer <token>'
{
  "type": "pending_transaction",
  "hash": "<string>",
  "sender": 6.195948399647823e+76,
  "sequence_number": "32425224034",
  "max_gas_amount": "32425224034",
  "gas_unit_price": "32425224034",
  "expiration_timestamp_secs": "32425224034",
  "payload": {
    "type": "entry_function_payload",
    "function": "0x1::aptos_coin::transfer",
    "type_arguments": [
      "<any>"
    ],
    "arguments": [
      "<any>"
    ]
  },
  "signature": {
    "type": "ed25519_signature",
    "public_key": 6.195948399647823e+76,
    "signature": 6.195948399647823e+76
  },
  "replay_protection_nonce": "32425224034"
}

Authorizations

Authorization
string
header
required

Path Parameters

txn_hash
string
required

Response

  • Option 1
  • Option 2
  • Option 3
  • Option 4
  • Option 5
  • Option 6
  • Option 7
  • Option 8
type
enum<string>
required
Available options:
pending_transaction
Example:
hash
string
required
sender
string<hex>
required
Example:
sequence_number
string<uint64>
required
Example:
max_gas_amount
string<uint64>
required
Example:
gas_unit_price
string<uint64>
required
Example:
expiration_timestamp_secs
string<uint64>
required
Example:
payload
object
required
  • Option 1
  • Option 2
  • Option 3
  • Option 4
signature
object
  • Option 1
  • Option 2
  • Option 3
  • Option 4
  • Option 5
  • Option 6
  • Option 7
  • Option 8
  • Option 9
  • Option 10
  • Option 11
replay_protection_nonce
string<uint64>
Example: