parseTransaction

Get a transaction object given a signed transaction bytecode, or re-parse a transaction object. Verify the signature

Request: requestType is parseTransaction transactionBytes is the signed or unsigned bytecode of the transaction (optional) transactionJSON is the transaction object (optional if transactionBytes is included)

Response: Refer to Get Transaction.

Example:

Request:

http://localhost:801/BEAM?requestType=parseTransaction&transactionBytes=01104ec93f071800a61325eec9e83d7cac55544b8eca8ea8034559bafb5834b8a5d3b6d4efb85f12b31119f931eaa6d4000000000000000018370b00000000000000000000000000000000000000000000000000000000000000000000000000dc2503584a48e30ac62d62848f58461e0e9ff55070008743c24f380c24a9ef05525c70b5d40962566f3f4de2018277ba7956eb09d0aec84219784de7f3b76f6a0100000003ac07005ac8e8794cc6d21001210000805468697320697320612073656e644d65737361676520415049206578616d706c65

Response:

{ “senderPublicKey”: “a61325eec9e83d7cac55544b8eca8ea8034559bafb5834b8a5d3b6d4efb85f12”, “signature”: “dc2503584a48e30ac62d62848f58461e0e9ff55070008743c24f380c24a9ef05525c70b5d40962566f3f4de2018277ba7956eb09d0aec84219784de7f3b76f6a”, “feeNQT”: “735000”, “requestProcessingTime”: 238, “type”: 1, “fullHash”: “0f37d045bc7d4f2bd85cb565a5c4e575464ac387b986f80fb8c31635cf03923e”, “version”: 1, “ecBlockId”: “1212249281481197658”, “signatureHash”: “2bcbafeab7a0bae40337fe34adea84110b1f770a33841c95f3fe9e19dde41bae”, “attachment”: { “version.Message”: 1, “messageIsText”: true, “message”: “This is a sendMessage API example” }, “senderRS”: “BEAM-7X92-29W5-MY9A-GUKQP”, “subtype”: 0, “amountNQT”: “0”, “sender”: “16922903237994405232”, “recipientRS”: “BEAM-7X92-29W5-VK8P-FCRBB”, “recipient”: “15323192282528158131”, “ecBlockHeight”: 502787, “verify”: true, “deadline”: 24, “transaction”: “3120851314369640207”, “timestamp”: 121620814, “height”: 2147483647 }

Last updated