{% hint style="info" %}
The FeeDistributor
address is 0x26743984e3357efc59f2fd6c1afdc310335a61c9
{% endhint %}
You can query pending tokens for a given veBAL holder by using eth_call
to simulate a claim transaction. Below is some simple pseudocode that outlines the process:
feeDistributorAddress="0x26743984e3357efc59f2fd6c1afdc310335a61c9";
feeDistributorAbi=<loadFdAbi>;
userAddress=<yourAddress>;
tokenAddress0=<tokenAddress0>;
tokenAddress1=<tokenAddress1>;
tokens = [tokenAddress0, tokenAddress1];
feeDistributorContract = contract(feeDistributorAddress, feeDistributorAbi);
claimableTokens = feeDistributorContract.claimTokens(userAddress,tokens).call();
The process is identical to querying as above, except instead of eth_call
, you will use eth_sendTransaction
.
At the time of this writing, there is no subgraph tracking tokens added to the FeeDistributor
. For now, an easy way you can find the available tokens for claiming is checking what the contract holds on Etherscan