⚡ Test Our Private Nodes of 40+ Blockchains just for $50!

coins coins coins coins
eos
EOS (EOS)

Method: POST push_transaction

dropdown

# push_transaction example for EOS (EOS)

POST push_transaction

Method not allowed

This method expects a transaction in JSON format and will attempt to apply it to the blockchain.

Parameters

signatures - array of strings

array of signatures required to authorize transaction

compression - boolean

Compression used, usually false

packed_context_free_data - string

json to hex

packed_trx - string

Transaction object json to hex

Request

curl --location --request POST 'https://eos.getblock.io/v1/chain/push_transaction' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"packed_trx": ["c7defc62dd20d56de49100000000013015a45952941c3d000000572d3ccdcd01104250db6564305500000000a8ed323248104250db656430550000a00e244ca3ca009435770000000004424f4944000000276962636875622e626f69644074656c6f737c69737375655f746f3d746c6f73616374697665313100"]}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}