Skip to main content
Version: testnet (v0.78)

Check raw transaction

POST 

/transaction/raw/check

Send a pre-serialised transaction containing a command to the network to be checked, but then not added to the chain's mempool. This is useful for checking the validity of a potential transaction before submitting it.

Request

Body

required
    tx byterequired

Responses

A successful response.

Schema
    info Unused
    code int64

    Error code to indicate the category of failure if the transaction was not successfully submitted.

    data string

    Further details for why the transaction was not successfully checked.

    gasUsed int64

    Unused.

    gasWanted int64

    Amount of space in a block that the transaction will fill. This does not relate to any monetary cost for submitting the transaction.

    log string

    Further details for the underlying consensus layer of the result of the transaction.

    success boolean

    Whether or not the transaction passed the submission checks.

Loading...