We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
simulateTransaction
results
https://rpc-futurenet.stellar.org/
Ran simulation of a transaction:
curl -s 'https://rpc-futurenet.stellar.org/' -H 'Content-Type: application/json' --data '{ "jsonrpc": "2.0", "id": 10235, "method": "simulateTransaction", "params": [ "AAAAAgAAAADzwQ11keCAXiGbzzenrJCF67uR4i8TRh6rq10fRyygkwAAA+gAALIrAAAARQAAAAEAAAAAAAAAAAAAAABk+MefAAAAAAAAAAEAAAAAAAAAGgAAAAAAAAABAAAAAAAAAAAAAAACAAAABzvHl6ljHJiGxSRWVNXrog1BZenOcFxRa/PN/pljigY5AAAAAAAAAAYAAAABO8eXqWMcmIbFJFZU1euiDUFl6c5wXFFr883+mWOKBjkAAAAUAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" ] }' | jq
The response was:
{ "jsonrpc": "2.0", "id": 10235, "result": { "transactionData": "AAAAAAAAAAAAAAACAAAABzvHl6ljHJiGxSRWVNXrog1BZenOcFxRa/PN/pljigY5AAAAAAAAAAYAAAABO8eXqWMcmIbFJFZU1euiDUFl6c5wXFFr883+mWOKBjkAAAAUAAAAAQAAAAAAAAAAAAAAzAAAAMwAAAGYAAAAAAAAAFA=", "events": null, "minResourceFee": "62171", "results": [ { "auth": null, "xdr": "" } ], "cost": { "cpuInsns": "0", "memBytes": "0" }, "latestLedger": "771779" } }
(More context on Discord.)
According to the documentation, the results field should not have any optional components, so this should either:
error
auth
xdr
results[0] is not a valid result structure, since xdr is an empty string and auth is null.
results[0]
The text was updated successfully, but these errors were encountered:
I'm almost certain this is fixed in current versions so feel free to just close this as such, but I just want to raise it in case it's not.
Sorry, something went wrong.
No branches or pull requests
What version are you using?
https://rpc-futurenet.stellar.org/
What did you do?
Ran simulation of a transaction:
The response was:
(More context on Discord.)
What did you expect to see?
According to the documentation, the
results
field should not have any optional components, so this should either:error
field orauth
andxdr
fieldsWhat did you see instead?
results[0]
is not a valid result structure, sincexdr
is an empty string andauth
is null.The text was updated successfully, but these errors were encountered: