/check_tx

Checks the transaction without executing it.

Parameters:

tx - string, The transaction

Example:

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

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

Last updated