Check transaction
Check a signed transaction
application/json
Request Body required
tx object
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[]
message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
POST /transaction/check
Request
Request
curl / cURL
curl -L -X POST 'https://vega-mainnet-data.commodum.io/transaction/check' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"tx": {
"address": "string",
"inputData": "string",
"pow": {
"nonce": "string",
"tid": "string"
},
"pubKey": "string",
"signature": {
"algo": "string",
"value": "string",
"version": 0
},
"version": "TX_VERSION_UNSPECIFIED"
}
}'
python / requests
curl -L -X POST 'https://vega-mainnet-data.commodum.io/transaction/check' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"tx": {
"address": "string",
"inputData": "string",
"pow": {
"nonce": "string",
"tid": "string"
},
"pubKey": "string",
"signature": {
"algo": "string",
"value": "string",
"version": 0
},
"version": "TX_VERSION_UNSPECIFIED"
}
}'
go / native
curl -L -X POST 'https://vega-mainnet-data.commodum.io/transaction/check' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"tx": {
"address": "string",
"inputData": "string",
"pow": {
"nonce": "string",
"tid": "string"
},
"pubKey": "string",
"signature": {
"algo": "string",
"value": "string",
"version": 0
},
"version": "TX_VERSION_UNSPECIFIED"
}
}'
nodejs / axios
curl -L -X POST 'https://vega-mainnet-data.commodum.io/transaction/check' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"tx": {
"address": "string",
"inputData": "string",
"pow": {
"nonce": "string",
"tid": "string"
},
"pubKey": "string",
"signature": {
"algo": "string",
"value": "string",
"version": 0
},
"version": "TX_VERSION_UNSPECIFIED"
}
}'