Skip to content

Commit

Permalink
Recognize delegations
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJohnnyGault committed May 13, 2024
1 parent 28be1c2 commit a1be3be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/ggavax.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class ggAVAX {
const startTimestamp = Math.floor(Date.now() / 1000) - 15 * 24 * 60 * 60;
const endTimestamp = Math.floor(Date.now() / 1000);
const response = await fetch(
`https://glacier-api.avax.network/v1/networks/mainnet/blockchains/p-chain/transactions:listStaking?addresses=avax10f8305248c0wsfsdempdtpx7lpkc30vwzl9y9q&txTypes=AddDelegatorTx&startTimestamp=${startTimestamp}&endTimestamp=${endTimestamp}&pageSize=100`,
`https://glacier-api.avax.network/v1/networks/mainnet/blockchains/p-chain/transactions:listStaking?addresses=avax10f8305248c0wsfsdempdtpx7lpkc30vwzl9y9q&txTypes=AddPermissionlessDelegatorTx&startTimestamp=${startTimestamp}&endTimestamp=${endTimestamp}&pageSize=100`,
{
headers: {
Accept: "application/json",
Expand Down

0 comments on commit a1be3be

Please sign in to comment.