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 /transaction/prepare-announce
创建并广播交易。 由于此请求涉及帐户的私钥,因此仅应将其发送到本地NIS。
requestPrepareAnnounce
-
requestPrepareannone JSON对象。 请求PrepareAnnone对象用于将事务数据和私钥传输到NIS,以启动和广播交易。
curl --location --request POST 'https://xem.getblock.io/transaction/prepare-announce' --header 'x-api-key: YOUR-API-KEY' --header 'Content-Type: application/json' --data-raw '{requestPrepareAnnounce':{'transaction': None, 'timeStamp': 9111526, 'amount': 1000000000, 'fee': 50000, 'recipient': 'TDGIMREMR5NSRFUOMPI5OOHLDATCABNPC5ID2SVA', 'type': 257, 'deadline': 9154726, 'message': {'payload': '74657374207472616e73616374696f6e', 'type': 1}, 'version': -1744830463, 'signer': 'a1aaca6c17a24252e674d155713cdf55996ad00175be4af02a20c67b59f9fe8a', 'privateKey': '68e4f79f886927de698df4f857de2aada41ccca6617e56bb0d61623b35b08cc0'}'
{ "code": 1, "innerTransactionHash": { "data": "cc317a7674d56352b4c711096a7594bd11908bf518293a191fc2faa12eac0fbb" }, "message": "SUCCESS", "transactionHash": { "data": "c1786437336da077cd572a27710c40c378610e8d33880bcb7bdb0a42e3d35586" }, "type": 1 }