Skip to content

Instantly share code, notes, and snippets.

@WietseWind
Created January 9, 2020 09:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WietseWind/3c40f3fae5425d82e8404e5c9c688d5f to your computer and use it in GitHub Desktop.
Save WietseWind/3c40f3fae5425d82e8404e5c9c688d5f to your computer and use it in GitHub Desktop.
Select AccountSet text-fields from XRPL BigQuery dataset
SELECT
SAFE_CONVERT_BYTES_TO_STRING(FROM_HEX(Domain))
FROM
xrpledgerdata.fullhistory.transactions
WHERE
Account = 'rPEPPER7kfTD9w2To4CQk6UCfuHM9c6GDY'
AND TransactionType = 'AccountSet'
AND Domain IS NOT null
ORDER BY
LedgerIndex DESC
LIMIT 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment