Check transaction
Check a signed transaction
application/json
Request Body required
tx object
Represents a transaction to be sent to Vega.
address string
inputData byte
pow object
Proof of work contains the random transaction id used by the client and the nonce.
nonce uint64
tid string
pubKey string
signature object
Signature of the input data.
algo string
value string
version int64
version string
Possible values: [TX_VERSION_UNSPECIFIED
, TX_VERSION_V2
, TX_VERSION_V3
]
Responses
- 200
- default
A successful response.
application/json
Schema
Example (from schema)
Schema
info Information about the transaction
code int64
data Data for details
gasUsed int64
gasWanted int64
log Transaction log
success Success will be true if the transaction was checked by the node
{
"info": "string",
"code": 0,
"data": "string",
"gasUsed": "string",
"gasWanted": "string",
"log": "string",
"success": true
}
An unexpected error response.
application/json
Schema
Example (from schema)
Schema
code int32
details object[]
@type string
message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
Loading...