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

eos
EOS

Method: POST push_transactions

dropdown

方法 RPC push_transactions 例如 EOS

POST push_transactions

Method not allowed

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

Parameters

None - 对象数组

以格式的事务对象数组: - 到期(字符串dateTime) - 必须确认交易的时间。 -Ref_block_num(Integer)-Ref_block_prefix(Integer) - 块ID的32位部分-MAX_NET_NET_USAGE_WORDS(字符串或Integer wholenumber) - 整数-max_cpu_usage_ms(stringger wholenumber) (动作对象的数组) - 操作(动作对象的数组) - transaction_extensions(整数或字符串的数组扩展名数组 - 可选

Request

curl --location --request POST 'https://eos.getblock.io/v1/chain/push_transactions' 
--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"
}