send_raw_transaction
send_raw_transaction coin tx_hex
The send_raw_transaction
method broadcasts the transaction to the network of selected coin.
Structure | Type | Description |
---|---|---|
coin | string | the name of the coin network on which to broadcast the transaction |
tx_hex | string | the transaction bytes in hexadecimal format; this is typically generated by the withdraw method |
Structure | Type | Description |
---|---|---|
tx_hash | string | the hash of the broadcast transaction |
POST
send_raw_transaction{
"method": "send_raw_transaction",
"coin": "KMD",
"tx_hex": "0400008085202f8902d6a5b976db5e5c9e8f9ead50713b25f22cd061edc8ff0ff1049fd2cd775ba087000000006b483045022100bf2073c1ecfef3fc78f272045f46a722591401f61c2d2fac87fc474a17df7c3102200ca1bd0664ba75f3383e5cbbe96127ad534a86238dbea256e000b0fe2067ab8c012102031d4256c4bc9f99ac88bf3dba21773132281f65f9bf23a59928bce08961e2f3ffffffffd04d4e07ac5dacd08fb76e08d2a435fc4fe2b16eb0158695c820b44f42f044cb010000006a47304402200a0c21e8c0ae4a740f3663fe08aeff02cea6495157d531045b58d2dd79fb802702202f80dddd264db33f55e49799363997a175d39a91242a95f268c40f7ced97030b012102031d4256c4bc9f99ac88bf3dba21773132281f65f9bf23a59928bce08961e2f3ffffffff0200e1f505000000001976a91405aab5342166f8594baf17a7d9bef5d56744332788acc3b3ca27000000001976a91405aab5342166f8594baf17a7d9bef5d56744332788ac00000000000000000000000000000000000000",
"userpass": "RPC_UserP@SSW0RD"
}