FULL NAME
SUBJECT
Customer Support
Customer Support
Business / Sales
Partnership
Feedback
Demo Request
Other
TEXT MESSAGE
0/300
⚡ We welcome businesses to test our enterprise-grade service
Method: POST send_transaction
该方法期望以JSON格式进行交易,并将尝试将其应用于区块链。
signatures
- 弦数
授权交易所需的一系列签名
compression
- 布尔
压缩使用,通常是错误的
packed_context_free_data
- 细绳
JSON到HEX
packed_trx
- 细绳
交易对象JSON到十六进制
curl --location --request POST 'https://eos.getblock.io/v1/chain/send_transaction' --header 'x-api-key: YOUR-API-KEY' --header 'Content-Type: application/json' --data-raw '{"signatures": ["some_signature"]}'
{ "code": 500, "error": { "code": 3010010, "details": [ { "file": "abi_serializer.hpp", "line_number": 928, "message": "Missing compression", "method": "extract" }, { "file": "abi_serializer.hpp", "line_number": 1041, "message": "Failed to deserialize variant", "method": "from_variant" }, { "file": "chain_plugin.cpp", "line_number": 3155, "message": "Invalid packed transaction", "method": "send_transaction" } ], "name": "packed_transaction_type_exception", "what": "Invalid packed transaction" }, "message": "Internal Service Error" }