API
getBoost
Retrieves a single Boost by ID and instantiate the correct interfaces for all components.
Parameters
string | bigint
required
A
bigint, or numerical string, or hexadecimal string.Omit<wagmi.ReadContractParameters, 'address' | 'args' | 'functionName' | 'abi'>
Optional parameters to pass to the underlying
readContract method. Checkout wagmi’s documentation for more information. address, args, functionName, abi are handled for you under the hood.Returns
Promise<Boost>
required
Returns the Boost if found. Otherwise, throws
BoostNotFoundErrorreadBoost
Retrieves the raw on-chain representation of a Boost.
Parameters
string | bigint
required
A
bigint, or numerical string, or hexadecimal string.Omit<wagmi.ReadContractParameters, 'address' | 'args' | 'functionName' | 'abi'>
Optional parameters to pass to the underlying
readContract method. Checkout wagmi’s documentation for more information. address, args, functionName, abi are handled for you under the hood.Returns
Promise<Boost>
required
Returns the Boost if found. Otherwise, throws
BoostNotFoundError