📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

eos
EOS

Method: POST push_transaction

dropdown

方法 RPC push_transaction 例如 EOS

POST push_transaction

Method not allowed

该方法期望以JSON格式进行交易,并将尝试将其应用于区块链。

Parameters

signatures - 弦数

授权交易所需的一系列签名

compression - 布尔

压缩使用,通常是错误的

packed_context_free_data - 细绳

JSON到HEX

packed_trx - 细绳

交易对象JSON到十六进制

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 '{}'


Response

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