/broadcast_tx_commit

Returns with the responses from CheckTx and DeliverTx.

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_commit?tx=<the transaction>

// Result
{
    "jsonrpc": "2.0",
    "result": {
        "check_tx": {
            "code": 18,
            "codespace": "sdk",
            "data": null,
            "events": [],
            "gas_used": "3148964",
            "gas_wanted": "0",
            "info": "",
            "log": "must contain at least one message: invalid request",
            "mempoolError": "",
            "priority": "0",
            "sender": ""
        },
        "deliver_tx": {
            "code": 0,
            "codespace": "",
            "data": null,
            "events": [],
            "gas_used": "0",
            "gas_wanted": "0",
            "info": "",
            "log": ""
        },
        "hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
        "height": "0"
    }
}       

Last updated