Fetching an addresses’ connected fid with Neynar’s APIs, Neynar’s Parquet Files, Neynar’s Indexer Service or Neynar’s Hosted Database is easy, but until now that data wasn’t accessible to smart contracts on any L2s. Now, on the Base Mainnet and Sepolia testnet, smart contracts can query the fid linked to any ETH address.Documentation Index
Fetch the complete documentation index at: https://docs.neynar.com/llms.txt
Use this file to discover all available pages before exploring further.
The Contract
| Chain | Address | Deploy Transaction |
|---|---|---|
| Base Mainnet | 0xdB1eCF22d195dF9e03688C33707b19C68BdEd142 | 0xc61c054a4bc269d4263bd10933a664585ac8878eab1e1afe460220fb18e718ca |
| Base Sepolia | 0x3906b52ac27bae8bc5cc8e4e10a99665b78e35ac | 0x8db23c7bca5cc571cde724fd258ae4d7bf842c3a1b2cf495300bf819ebaea0ce |
- Read the Proxy Contract on the Base Sepolia Explorer. This is the upgradeable proxy contract you should use.
- Verifications V4 Code on the Base Sepelia Explorer. This is an upgradeable implementation contract. There is no state here. This is the code that the proxy contract is currently using.
The Interface
The V4 interface is quite simple:getFid call returns 0there is no verification for that address.
If you can spare the gas and would like us to know that you are using our contract, please use getFidWithEvent.
A simple example of a HelloWorld contract: