Skip to main content

GetInTransactionByHash

Transactions

Returns the structure of the internal transaction with the given hash.

Params

(1)

1. hash (required)

string

The hash of the transaction.

Result

(rpcInTransaction)

The transaction whose information is requested.

BlockHash
string
required

The hash of the block containing the transaction.

BlockNumber
integer
required

The number of the block containin the transaction.

ChainId
integer
required

The number of the chain containing the transaction.

FeeCredit
string
required

The fee credit for the transaction.

Flags
string
required

The array of transaction flags.

From
string
required

The address from where the transaction was sent.

GasUsed
string
required

The amount of gas spent on the transaction.

Hash
string
required

The transaction hash.

Index
string
required

The transaction index.

MaxFeePerGas
string
required

Maximum fee per gas for the transaction.

MaxPriorityFeePerGas
string
required

Priority fee for the transaction.

Seqno
string
required

The sequence number of the transaction.

Signature
string
required

The transaction signature.

Success
boolean
required

The flag that shows whether the transaction was successful.

To
string
required

The address where the transaction was sent.

Token
value
required

Token values.

Value
string
required

The transaction value.

API credentials

Username

Token

Params

hash


Request

curl -X POST https://api.devnet.nil.foundation/api/undefined/undefined \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_getInTransactionByHash",
"params": [
null
],
"id": 1
}'