Content
@
https://warpcast.com/~/channel/airstack
0 reply
0 recast
0 reaction
Jason Goldberg Ⓜ️ 💜
@betashop.eth
friendly reminder that all Moxie auction data is onchain https://developer.moxie.xyz/use-cases/fan-token-auctions/get-clearing-price-of-certain-auction
3 replies
1 recast
14 reactions
nikolaii.eth 🚀
@nikolaii.eth
question about the API: How do i get FID of a moxie auction bidder? I could only find internal address and internal ID, and I could not find a way to resolve them to FID. Thank you!
2 replies
0 recast
0 reaction
Yoseph Ⓜ️
@yosephks
Hi @nikolaii.eth for now you'll need to call several APIs, btw we are working to make this easier in the future as it is a heavily requested feature So to give context for now most bids will likely come from user's vesting contract as they are using unvested Moxie from their vesting contract Thus, to resolve to FID: 1. from the vesting contract get the beneficiary address using vesting subgraph, provide the bidders' addresses into the input: ```graphql query MyQuery($addresses: [ID!]) { tokenLockWallets(where: {id_in: $addresses}) { beneficiary address: id } } ``` Example variable: ```json { "addresses": [ "0x0000f530fc6397d28deb9eb28890cac2afa5c893", // other bidder's vesting contract address ] } ```
2 replies
0 recast
1 reaction
Jason Goldberg Ⓜ️ 💜
@betashop.eth
@yosephks
0 reply
0 recast
1 reaction