Content pfp
Content
@
0 reply
0 recast
0 reaction

Samuel ツ pfp
Samuel ツ
@samuellhuber.eth
The sample here does yield empty data. Could one share a sample that is yielding working data? https://developer.moxie.xyz/use-cases/users/get-users-auction-bids cc @betashop.eth @yosephks
1 reply
1 recast
6 reactions

Yoseph Ⓜ️ pfp
Yoseph Ⓜ️
@yosephks
Hi @samuellhuber.eth you can try use this address here 0x48f9887cab979b6f476bba3cc96808be8b8a2b72
1 reply
0 recast
0 reaction

Samuel ツ pfp
Samuel ツ
@samuellhuber.eth
works thank you. wondering since I bid on two auctions myself but don't see data on my own wallet 0x09CEdb7bb69f9F6DF646dBa107D2bAACda93D6C9 I've seen the DC's about the bids so wondering why it's not indexed. What I am trying to do is get how many funds of each user are locked in bids currently, how much is vested and how much is unvested + in wallet. then show all this data easily
1 reply
0 recast
0 reaction

Yoseph Ⓜ️ pfp
Yoseph Ⓜ️
@yosephks
So this is because looks like you're placing bids using your vesting contract, so if you're using that API, you should instead use the vesting contract address here as an input: 0x623b84a82e9e881b3d5c43105f701b5f7567b5b3 This is the graphql API to get vesting contract address: ``` query MyQuery { tokenLockWallets( where: {beneficiary: "0x09CEdb7bb69f9F6DF646dBa107D2bAACda93D6C9"} ) { vestingAddress: id } } ``` accessible thru this link: https://api.studio.thegraph.com/query/23537/moxie_vesting_mainnet/version/latest/graphql For vest/unvest amount, you can call the vesting contract functions directly for these informations: - contractBalance : vestingContract.currentBalance() - vestedBalance : vestingContract.releasableAmount() - unvestedBalance : contractBalance - vestedBalance Let me know if you have any further questions 🙏
0 reply
0 recast
0 reaction