POST /api/v2/sendtx/ - Blockbook REST API
Please note that this REST method requires the BCH Blockbook add-on enabled on your QuickNode endpoint.
Body Parameters
hex
string
REQUIRED
Loading...
Returns
result
string
Loading...
Request
1curl -X POST "https://docs-demo.bch-mainnet.quiknode.pro/sendtx" \2-H "Content-Type: application/json" \3-d '{4"hex": "0200000001ab3f6d2e1c4b5a68397d2f1e0c9b8a7f6e5d4c3b2a1f0e9d8c7b6a5f4e3d2c101000000ffffffff01e803000000000000ffffffff00000000"5}'
1curl -X POST "https://docs-demo.bch-mainnet.quiknode.pro/sendtx" \2-H "Content-Type: application/json" \3-d '{4"hex": "0200000001ab3f6d2e1c4b5a68397d2f1e0c9b8a7f6e5d4c3b2a1f0e9d8c7b6a5f4e3d2c101000000ffffffff01e803000000000000ffffffff00000000"5}'
Response
1{2"result": "txid_of_broadcasted_transaction"3}
1{2"result": "txid_of_broadcasted_transaction"3}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free