klay_getTransactionReceiptBySenderTxHash

Returns the receipt of a transaction by sender transaction hash.

Parameters

NameTypeDescription

Hash

32-byte DATA

Hash of a transaction before signing of feePayer(senderTransactionHash).

Return Value

Object - A transaction object, or null when no transaction was found:

NameTypeDescription

blockHash

32-byte DATA

Hash of the block where this transaction was in.

blockNumber

QUANTITY

Block number where this transaction was in.

codeFormat

String

(optional) The code format of smart contract code.

contractAddress

DATA

The contract address created, if the transaction was a contract creation, otherwise null.

feePayer

20-byte DATA

Address of the fee payer.

feePayerSignatures

Array

(optional) An array of fee payer's signature objects. A signature object contains three fields (V, R, and S). V contains ECDSA recovery id. R contains ECDSA signature r while S contains ECDSA signature s.

feeRatio

QUANTITY

(optional) Fee ratio of the fee payer. If it is 30, 30% of the fee will be paid by the fee payer. 70% will be paid by the sender.

from

20-byte DATA

Address of the sender.

gas

QUANTITY

Gas provided by the sender.