CreateRawExchange with token

+1 vote
Is it possible to createrawexchange an exchange transaction using tokenId from the nonfungible asset?
asked Dec 24, 2021 by anonymous

1 Answer

0 votes

Good question! Yes, it's totally possible – we've now updated the online docs to reflect this. For non-fungible assets, you just use this form in the exchange APIs:

{"asset1":{"token":"token1","qty":5}}

This is instead of the form below for fungible assets:

{"asset1":50}

answered Dec 25, 2021 by MultiChain
...