MEMO N/A after submitting to bridge endpoint /builder
MEMO N/A after submitting to bridge endpoint /builder
Loading saved threads...
Anthrose · External communityPost link
External question — Stellar Stack Exchange
Author: Anthrose
Original post: https://stellar.stackexchange.com/questions/1339
License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
curl -X POST \
http://localhost:8006/builder \
-H 'Content-Type: application/json' \
-d '{
"source": "GBJ6ONYK73A65BRW7SOGQYEDCN55NCYDH5WJTE7WZIZXF3RRX2GFI33T",
"memo": {
"text": "qwerty12345"
},
"operations": [
{
"type": "payment",
"body":{
"source":"GBJ6ONYK73A65BRW7SOGQYEDCN55NCYDH5WJTE7WZIZXF3RRX2GFI33T",
"destination":"GCZC5EG7BURORGG46B67FDBZDTWKQ5G6GLHWU6K535222ELH63MNKOT7",
"amount": "1000"
}
}
],
"signers": ["*************************************"]
}
After doing this though my destination account got credited, while looking up the explorer it shows Memo N/A.
What could possibly be wrong here?
What can be done to fix this?
Hoping for answers!
Quote
Report
tracy · External communityPost link
External answer — Stellar Stack Exchange
Author: tracy
Original post: https://stellar.stackexchange.com/a/1341
License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
try to use this instead:
"memo_type":"text","memo":"qwerty12345"
Quote
Report
Paul · External communityPost link
External answer — Stellar Stack Exchange
Author: Paul
Original post: https://stellar.stackexchange.com/a/1353
License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
Oddly enough it doesn't look like the builder endpoint reads the memo from the request:
https://github.com/stellar/bridge-server/blob/master/src/github.com/stellar/gateway/bridge/handlers/request_handler_builder.go
Maybe this is a bug in the bridge server, or an intentional omission?
Quote
Report
Post Reply
Quoted from Forex.com.bd-Editorial External question — Stellar Stack Exchange Author: Anthrose Source score (net votes, not local likes): 2 Original post: https://stellar.stackexchange.com/questions/1339 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. curl -X POST \ http://localhost:8006/builder \ -H 'Content-Type: application/json' \ -d '{ "source": "GBJ6ONYK73A65BRW7SOGQYEDCN55NCYDH5WJTE7WZIZXF3RRX2GFI33T", "memo": { "text": "qwerty12345" }, "operations": [ { "type": "payment", "body":{ "source":"GBJ6ONYK73A65BRW7SOGQYEDCN55NCYDH5WJTE7WZIZXF3RRX2GFI33T", "destination":"GCZC5EG7BURORGG46B67FDBZDTWKQ5G6GLHWU6K535222ELH63MNKOT7", "amount": "1000" } } ], "signers": ["*************************************"] } After doing this though my destination account got credited, while looking up the explorer it shows Memo N/A. What could possibly be wrong here? What can be done to fix this? Hoping for answers!
Checking account access…