Skip to main content

Get Transaction

GET 

/api/v1/transactions/:transactionHash

Free [1 Credits]

Retrieve a transaction.


Request

Path Parameters

    transactionHash stringrequired

    transaction hash

Responses

OK

Schema

    transactionHash Transaction Hash (string)required
    transactionType Transaction Type (string)required

    Possible values: [Account Update, Fee Delegated Account Update, Fee Delegated Account Update With Ratio, Cancel, Fee Delegated Cancel, Fee Delegated Cancel With Ratio, Smart Contract Deploy, Fee Delegated Smart Contract Deploy, Fee Delegated Smart Contract Deploy With Ratio, Smart Contract Execution, Fee Delegated Smart Contract Execution, Fee Delegated Smart Contract Execution With Ratio, Legacy, Chain Data Anchoring, Fee Delegated Chain Data Anchoring, Fee Delegated Chain Data Anchoring With Ratio, Value Transfer, Fee Delegated Value Transfer, Fee Delegated Value Transfer With Ratio, Value Transfer Memo, Fee Delegated Value Transfer Memo, Fee Delegated Value Transfer Memo With Ratio, Ethereum Access List, Ethereum Dynamic Fee]

    blockId int64required
    from Address (from) (string)required
    to Address (to) (string)
    tokenTransfer int32required
    nftTransfer int32required
    feePayer Fee Payer (string)
    feeRation int32
    datetime date-timerequired
    nonce int64required
    amount KLAY Amount (number)required
    gasPrice Gas Price (number)required
    gasUsed Gas Used (number)required
    gasLimit Gas Limit (number)required
    transactionFee Transaction Fee (number)required

    status

    object

    required

    status Transaction Status (string)required

    Possible values: [Success, Fail]

    failMessage Message when Transaction Status is Fail (string)
    createdContract Contract Address Created Within Transaction (string)
    methodId Function Bytes (string)
    signature Function Name (string)
    effectiveGasPrice Effective Gas Price. Same as Block's baseFee (number)required
    burntFees Burnt Fees within Transaction Fee (number)
    key Account Key (string)

    accountKey

    object

    type stringrequired

    Possible values: [AccountKeyLegacy, AccountKeyPublic, AccountKeyFail, AccountKeyWeightedMultiSig, AccountKeyRoleBased]

Loading...