Skip to content

Instantly share code, notes, and snippets.

@Azrael808
Created September 23, 2022 13:39
Show Gist options
  • Save Azrael808/93910e44d008bfaab4dd4075f6e9adb8 to your computer and use it in GitHub Desktop.
Save Azrael808/93910e44d008bfaab4dd4075f6e9adb8 to your computer and use it in GitHub Desktop.
Retreive FLDC reward transactions and format as CSV - useful for importing to Koinly
curl -s https://xchain.io/api/sends/{address} | jq '.data[] | "\(.timestamp),\(.quantity),\(.asset),Airdrop,\(.tx_hash)"' | tr -d '"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment