Repository navigation
fix(moonpay-export-data): read transaction amounts from amountIn/amountOut - #96
Open
kevarifin14 wants to merge 1 commit into
Open
kevarifin14 wants to merge 1 commit into
kevarifin14 wants to merge 1 commit into
Conversation
…ntOut Matches moonpay-cli #649, where transaction_list reports amounts as amountIn and amountOut instead of from/to token, amount and a top-level usd. Balance exports are unchanged.
kevarifin14
marked this pull request as ready for review
October 14, 2026 15:48
Contributor
Author
|
Ready to merge now: moonpay-cli #649 is merged and deployed to production (agents.moonpay.com now returns |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MoonPay CLI #649 (https://github.com/moon-labs-dev/moonpay-cli/pull/649) changes
transaction_list/transaction_retrieveto report amounts asamountIn/amountOut({ amount, raw, decimals, symbol, usd }), replacingfrom.token,from.amount,to.token,to.amountand the top-levelusd. Without this change, the transaction CSV export produces blank token, amount and USD columns..amountIn.symbol,.amountIn.amount,.amountOut.symbol,.amountOut.amountand.amountIn.usd. A null leg (for example, a bridge still in flight) exports as empty cells.transaction_id, which is what it contains (previouslydate)..balance.value, which #649 doesn't change.The file now matches
packages/cli/skills/moonpay-export-data/SKILL.mdin moonpay-cli.Merge when CLI #649 is deployed. Before then, the current paths are still correct.