/broadcast_tx_sync

Returns with the response from CheckTx. Does not wait for DeliverTx result.

Parameters:

tx - string, The transaction

Example:

// Request
curl -X GET -H 'Content-Type: application/json'  https://zetachain-athens.blockpi.network/rpc/v1/<your-api-key>/broadcast_tx_sync?tx=<the transaction>

// Result
{
  "jsonrpc": "2.0",
  "id": 0,
  "result": {
    "code": "0",
    "data": "",
    "log": "",
    "codespace": "ibc",
    "hash": "0D33F2F03A5234F38706E43004489E061AC40A2E"
  },
  "error": ""
}                       

Last updated