Returns all traces of given transaction.

Parameters

Params - a string array containing (required):

  • DATA(hex string, required) - transaction hash.

Returns

Array - traces of given transaction.

  • blockHash(hex string). DATA, 32 Bytes - hash of the block.

  • blockNumber(hex string). QUANTITY - the block number.

  • transactionHash(hex string). DATA, 32 Bytes - hash of the transactions.

  • action(object). DATA, 32 Bytes - hash of the transactions

    • callType(string). type of method, such as "call", "delegatecall".

    • from(hex string). DATA, 20 Bytes - address of the sender.

    • to(hex string). DATA, 20 Bytes - address of the receiver. null when its a contract creation transaction.

    • gas(hex string) . QUANTITY - the number of gas used by transaction.

    • input(hex string). DATA - the data send along with the transaction.

    • value(hex string). QUANTITY - value transferred in wei.

  • result(object). DATA - transaction result.

    • gasUsed(hex string) . QUANTITY - the number of gas used by transaction.

    • output(hex string). DATA - return value of the contract call. Contains only the actual value sent by a RETURN operation. If a RETURN was not executed, the output is empty bytes.

  • subTraces(hex string). - traces of contract calls made by the transaction.

  • traceAddress(Array). - tree list address of where the call occurred, address of the parents, and order of the current sub call.

  • type(string). type of method, such as call or create.

Language
Click Try It! to start a request and see the response here!