Skip to main content

ren_queryTx

ren_queryTx returns the transaction state of the provided RenVM transaction hash.

Request Body — REQUIRED
method string — REQUIRED

Make a call to the "ren_queryTx" method.

id int32

This value will be passed back in the response, used to match the response with the request that it is replying to.

jsonrpc string — REQUIRED

JSON-RPC Version ("2.0")

params object — REQUIRED
txHash string — REQUIRED

The RenVM hash of the transaction that will be returned.

Responses
200

Successful response

Schema
jsonrpc string — REQUIRED
id number — REQUIRED
result object — REQUIRED
tx object — REQUIRED
hash string — REQUIRED
in object — REQUIRED
t object — REQUIRED
struct undefined[] — REQUIRED
v object — REQUIRED
amount string — REQUIRED
ghash string — REQUIRED
gpubkey string — REQUIRED
nhash string — REQUIRED
nonce string — REQUIRED
payload string — REQUIRED
phash string — REQUIRED
to string — REQUIRED
txid string — REQUIRED
txindex string — REQUIRED
out object
t object — REQUIRED
struct undefined[] — REQUIRED
v object — REQUIRED
amount string — REQUIRED
outpoint object — REQUIRED
hash string — REQUIRED
index string — REQUIRED
selector string — REQUIRED
version string — REQUIRED
txStatus enum — REQUIRED

Possible values: [done, confirming, pending, reverted]

One of done, confirming, pending or reverted