Skip to content

Instantly share code, notes, and snippets.

View wbobeirne's full-sized avatar

Will O'Beirne wbobeirne

View GitHub Profile
Verifying my Blockstack ID is secured with the address 16Zk2WG5cBc7Lrq9yMLLbt8BujCJbjNBFm https://explorer.blockstack.org/address/16Zk2WG5cBc7Lrq9yMLLbt8BujCJbjNBFm
Verifying my Blockstack ID is secured with the address 1MuzNQ5ecsjWt3yAz6CrPbKZtkzLhHbHQo https://explorer.blockstack.org/address/1MuzNQ5ecsjWt3yAz6CrPbKZtkzLhHbHQo
/*
Check the token balances of a wallet for multiple tokens.
Pass 0x0 as a "token" address to get ETH balance.
Possible error throws:
- extremely large arrays for user and or tokens (gas cost too high)
Returns a one-dimensional that's user.length * tokens.length long. The
array is ordered by all of the 0th users token balances, then the 1th
user, and so on.
{
"timestamp": "2019-01-12T17:20:27.670Z",
"main": {
"customNetworks": [],
"customTokens": [],
"customDeriviationPaths": [],
"gas": {
"speed": "regular"
},
"skipTutorial": true