post https://cosmos-mainnet-archive.allthatnode.com:1317/cosmos/tx/v1beta1/txs
Queries validator-set at a given height.
Parameters
Body
tx_bytes
:STRING
- The raw transaction.mode
:STRING
- Specifies the broadcast mode for the TxService.Broadcast RPC method.- "BROADCAST_MODE_UNSPECIFIED": Zero-value for mode orderin
- "BROADCAST_MODE_BLOCK": A tx broadcasting mode where the client waits for
the tx to be committed in a block. - "BROADCAST_MODE_SYNC": A tx broadcasting mode where the client waits for a CheckTx execution response only.
- "BROADCAST_MODE_ASYNC": A tx broadcasting mode where the client returns
immediately.
curl https://cosmos-mainnet-archive.allthatnode.com:1317/cosmos/tx/v1beta1/txs \
-H 'x-allthatnode-api-key: 8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj' \
-H "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 1,
"tx_bytes": "string",
"mode": "BROADCAST_MODE_UNSPECIFIED"
}'
Returns
OBJECT
- The simulation result.
{
"tx_response": {
"height": "string",
"txhash": "string",
"codespace": "string",
"code": 0,
"data": "string",
"raw_log": "string",
"logs": [
{
"msg_index": 0,
"log": "string",
"events": [
{
"type": "string",
"attributes": [
{
"key": "string",
"value": "string"
}
]
}
]
}
],
"info": "string",
"gas_wanted": "string",
"gas_used": "string",
"tx": {
"type_url": "string",
"value": "string"
},
"timestamp": "string"
}
}