Is there an example on ManageBuyOfferResult?

Is there an example on ManageBuyOfferResult?

Manage alerts

Loading saved threads...

Дід Alik · External communityPost link
External question — Stellar Stack Exchange Author: Дід Alik Original post: https://stellar.stackexchange.com/questions/4246 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. When creating a new buy offer, one sets OfferID to 0 in txnbuild.ManageBuyOffer operation. I would expect OfferID for a newly created offer to be returned in ManageBuyOfferResult , but I can't figure out how to get a hold on the result. What is it that I am missing? Is there an example on how ManageBuyOfferResult is supposed to be used? Thank you!
Quote
Report
Дід Alik · External communityPost link
External answer — Stellar Stack Exchange Author: Дід Alik Original post: https://stellar.stackexchange.com/a/4253 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. Actually, it is all in the (Go) code. For example: var v xdr.TransactionResult opResult := (*(*v.Result.Results)[0].Tr).ManageBuyOfferResult The ultimate documentation is code!
Quote
Report

Post Reply

Checking account access…