Bako ID Client
The Bako ID Client is an HTTP client that interacts with our server for on-chain queries. Our server communicates directly with the indexer, where all events related to handles are extracted.
Get Records
This method retrieves all handles belonging to a given address. The method call is defined as:
Parameters
ownerAddress: The owner's
b256
address.chainId: The network to resolve.
Output
The output is of type IDRecord[]
:
Resolver
Retrieves the resolver address for a given handle:
Parameters
name - The name to resolve.
chainId - The network to resolve on.
Output
The output is a string representing the b256
resolver address of the handle name.
Name
Retrieves the name associated with a given address.
Parameters
addr - The
b256
resolver address.chainId - The network to resolve on.
Output
The output is a string representing the handle name of the given b256
resolver address.
Names
Retrieves the resolver addresses associated with given names.
Parameters
addresses - An array of
b256
resolver addresses.chainId - The network to resolve on.
Output
The output is an array containing the name and resolver:
Profile
Retrieves the profile URL associated with a given name.
The output is a string representing the profile URL:
Last updated