eth_getTransactionByHash

Returns information about a transaction for a given hash.

Parameters

transaction hash: [Required] A string representing the hash (32 bytes) of a transaction.


Returns

A transaction object, or null when no transaction was found. The transaction object will consist of the following keys and their values:

  • accessList: [optional] A list of addresses and storage keys accessed by the transaction. See access list transactions, always empty for 1Money Network.

  • blockHash: 32 bytes. A hash of the block including this transaction. null when it's pending.

  • blockNumber: The number of the block including this transaction. null when it's pending.

  • chainId: chain ID specifying the network, always returned for 1Money Network.

  • from: 20 bytes. The address of the sender.

  • gas: Gas provided by the sender.

  • gasPrice: Gas price provided by the sender in wei.

  • hash: 32 bytes. The hash of the transaction.

  • input: The data sent along with the transaction.

  • maxPriorityFeePerGas: [optional] Maximum fee, in wei, the sender is willing to pay per gas above the base fee. See EIP-1559 transactions, always null or 0 for 1Money Network.

  • maxFeePerGas: [optional] Maximum total fee (base fee + priority fee), in wei, the sender is willing to pay per gas. See EIP-1559 transactions, always null or 0 for 1Money Network.

  • nonce: The number of transactions made by the sender prior to this one.

  • r: 32 bytes. The ECDSA signature r.

  • s: 32 bytes. The ECDSA signature s.

  • to: 20 bytes. The address of the receiver. null when it's a contract creation transaction.

  • transactionIndex: The transaction's index position in the block, in hexadecimal. null when it's pending.

  • type: The transaction type, default is 0x0 for 1Money Network, 0x2 for EIP-1559 transaction.

  • v: The ECDSA recovery ID.

  • value: The value transferred in wei.

  • yParity: [optional] Parity (0x0 for even, 0x1 for odd) of the y-value of a secp256k1 signature.


Example

Request

Response

Last updated