decoderawexchange does not contain offer field

+2 votes
The API documentation suggests that the output of decoderawexchange should include an 'offer' field but this does not appear to be the case? Is there a fix or workaround?

I am using alpha 19.

Example of the output I am getting.

{
    "txid" : "52301ff91e090b877f415c8dfdb1028bb2d7c581c99c18f6a787f04d51b46c0b",
    "version" : 1,
    "locktime" : 0,
    "vin" : [
        {
            "txid" : "10b69397c6f84dd80165f16065aaeb10d27e906d5e55ee1aaf04a9289880b139",
            "vout" : 0,
            "scriptSig" : {
                "asm" : "3044022013b9c272a3cdb3b3b55de169abca7f74b3b6fcda1671fe19620dc0999c8a81e8022043e611063bb82fb1db32d8c99b4ad9b75371a5b4ccad00516b6dbe9d9371020683 024f40e77eec18f4068709d0f928768f0f00f6c990691e773aa011a34339487f45",
                "hex" : "473044022013b9c272a3cdb3b3b55de169abca7f74b3b6fcda1671fe19620dc0999c8a81e8022043e611063bb82fb1db32d8c99b4ad9b75371a5b4ccad00516b6dbe9d937102068321024f40e77eec18f4068709d0f928768f0f00f6c990691e773aa011a34339487f45"
            },
            "sequence" : 4294967295
        }
    ],
    "vout" : [
        {
            "value" : 0.00000000,
            "n" : 0,
            "scriptPubKey" : {
                "asm" : "OP_DUP OP_HASH160 799482151fda094e5c2eb953faf5a57da19da8e2 OP_EQUALVERIFY OP_CHECKSIG 73706b711b0000000a01000057572003000000000000 OP_DROP",
                "hex" : "76a914799482151fda094e5c2eb953faf5a57da19da8e288ac1673706b711b0000000a0100005757200300000000000075",
                "reqSigs" : 1,
                "type" : "pubkeyhash",
                "addresses" : [
                    "1HS4gk99ZfavkUMKsYb2dEgCQznYHZ3zRFwGjT"
                ]
            },
            "assets" : [
                {
                    "name" : "USD",
                    "issuetxid" : "57570ffb6a4fb5b82e15388f248db9e318f951561a77ec5a7f685b4ee1091d83",
                    "assetref" : "27-266-22359",
                    "qty" : 8.00000000,
                    "raw" : 800
                }
            ],
            "permissions" : [
            ]
        }
    ],
    "data" : [
    ]
}
asked Apr 30, 2016 by anonymous

1 Answer

0 votes

Are you sure you didn't call decoderawtransaction?

answered Apr 30, 2016 by MultiChain
...