useBidBuffer() function
This feature is currently in beta and may change based on feedback that we receive.
Use this to get the buffer in basis points between offers from your marketplace contract.
Example
const { data: auctionWinner, isLoading, error } = useBidBuffer(<YourMarketplaceContractInstance>);
Signature:
export declare function useBidBuffer(
contract: RequiredParam<Marketplace>,
): import("@tanstack/react-query").UseQueryResult<BigNumber, unknown>;
Parameters
Parameter | Type | Description |
---|---|---|
contract | RequiredParam<Marketplace> | an instance of a marketplace contract |
Returns:
import("@tanstack/react-query").UseQueryResult<BigNumber, unknown>
a response object that includes an array of listings