# Broadcast Raw Transaction

This API submits the given raw transaction to the blockchain, and returns only after the transaction to be included in the blockchain, or timed out (i.e. synchronous call).

**RPC Method:** script.BroadcastRawTransaction

**Query Parameters**

`tx_bytes: the signed transaction bytes`

**`Returns`**

`hash: the hash of the transaction`

`block: the details of the block that contains the transaction`

`// Request`

`curl -X POST -H 'Content-Type: application/json' --data '{"jsonrpc":"2.0","method":"script.BroadcastRawTransaction","params":[{"tx_bytes":"02f8a4c78085e8d4a51000f86ff86d942e833968e5bb786ae`419c4d13189fb081cc43babd3888ac7230489e800008901158e46f1e875100015b841c2daae6cab92e37308763664fcbe93d90219df5a3520853a9713e70e734b11f27a43db6b77da4f885213b45a294c2b4c74dc9a018d35ba93e5b9297876a293c700eae9949f1233798e905e173560071255140b4a8abd3ec6d3888ac7230489e800008901158e460913d00000"}],"id":1}' <http://localhost:16888/rpc>

`// Result`

`{`

&#x20;`"jsonrpc": "2.0",`

&#x20;`"id": 1,`

&#x20;`"result": {`

&#x20;`"hash": "0x0a495698654ff5372ef8936eca727c25b975ea0f7e5ebea282e3c86017dfe521",`

&#x20;`"block": {`

&#x20;`"ChainID": "scriptnet",`

&#x20;`"Epoch": 40186,`

&#x20;`"Height": 20094,`

&#x20;`"Parent": "0x6797d42ff724a47e9dfd3aa425e2a4f06f40b64fd347ca8c9ebb43d08cb58847",`

&#x20;`"HCC": {`

&#x20;`"Votes": {},`

&#x20;`"BlockHash": "0x6797d42ff724a47e9dfd3aa425e2a4f06f40b64fd347ca8c9ebb43d08cb58847"`

&#x20;`},`

&#x20;`"TxHash": "0xbed5492c96d8251c2f0846a2d12d7a17eb88966a736fa0e8f96af36ed3ffaa74",`

&#x20;`"ReceiptHash": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",`

&#x20;`"Bloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",`

&#x20;`"StateHash": "0xd2b1fa73461fe80d266933033df073a2eb5b82d16cad46f2f74fa2b575adbc88",`

&#x20;`"Timestamp": 1548272003,`

&#x20;`"Proposer": "0x2e833968e5bb786ae419c4d13189fb081cc43bab",`

&#x20;`"Signature": "0x514b731086640c79122f81db1ac1a142d39a92393affb3cbaa09df395dbb441a4b735a66d0da1a52887b66a155033e51b36584dd14b68616fe30b0f2a3f434fa01"`

&#x20;`}`

&#x20;`}`

`}`
