Proof module

proof.getTransactionByHash

This function returns the same result as eth_getTransactionReceipt and also a tx proof, receipt proof and serialized block headers.

Invocation

proof.getTransactionByHash(txHash, includeHeader)

Parameter

Type

Description

txHash

Hash

includeHeader

Boolean

Returned type

Description

TransactionWithProof object

Example request of proof.getTransactionByHash
Objects in proof_getTransactionByHash
Example request of proof.getTransactionByHash
proof.getTransactionByHash(txHash, includeHeader)
Objects in proof_getTransactionByHash

TransactionWithProof

Field name

Type

Transaction

TransactionForRpc object

TxProof

Data

BlockHeader

Data

TransactionForRpc

Field name

Type

Hash

Hash

Nonce

Quantity

BlockHash

Hash

BlockNumber

Quantity

TransactionIndex

Quantity

From

Address

To

Address

Value

Quantity

GasPrice

Quantity

Gas

Quantity

Data

Data

Input

Data

V

Quantity

S

Quantity

R

Quantity

See also JSON RPC proof_getTransactionByHash

proof.getTransactionReceipt

This function should return the same result as eth_call and also proofs of all USED accunts and their storages and serialized block headers

Invocation

proof.getTransactionReceipt(txHash, includeHeader)

Parameter

Type

Description

txHash

Hash

includeHeader

Boolean

Returned type

Description

ReceiptWithProof object

Example request of proof.getTransactionReceipt
Objects in proof_getTransactionReceipt
Example request of proof.getTransactionReceipt
proof.getTransactionReceipt(txHash, includeHeader)
Objects in proof_getTransactionReceipt

ReceiptWithProof

Field name

Type

Receipt

ReceiptForRpc object

TxProof

Data

ReceiptProof

Data

BlockHeader

Data

ReceiptForRpc

Field name

Type

TransactionHash

Hash

TransactionIndex

Quantity

BlockHash

Hash

BlockNumber

Quantity

CumulativeGasUsed

Quantity

GasUsed

Quantity

From

Address

To

Address

ContractAddress

Address

Logs

LogEntryForRpc[] object

LogsBloom

Bloom Object

Root

Hash

Status

Quantity

Error

String

See also JSON RPC proof_getTransactionReceipt