/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://froopyland.blockpi.network/rpc/v1/<your-api-key>/broadcast_tx_sync?tx=<the transaction>

// Result
{
    "jsonrpc": "2.0",
    "result": {
        "code": 18,
        "codespace": "sdk",
        "data": "",
        "hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
        "log": "must contain at least one message: invalid request"
    }
}              

Last updated