Developer Questions
Malformed transaction. NFTokenAcceptOffer
over 2 years ago by Julian K(edited)
I'm trying to accept a token, but am getting a malformed transaction error. My request looks like this, let me know if there's anything obvious I'm doing wrong?
const request: XummJsonTransaction = {
txjson: {
TransactionType: 'NFTokenAcceptOffer',
NFTokenBuyOffer: offerID,
Account: accountID
},
options: {
return_url: {
app: returnUrl,
web: returnUrl
}
}
};
const subscription = await Xumm.payload
.createAndSubscribe(etc....)
I successfully get a signing link, and it all looks right, up until I actually sign it.