Skip to content

auctionInfo

function auctionInfo(client, token): Promise<AuctionInfo>;

Defined in: packages/synapse-core/src/auction/auction.ts:26

Get the initial state of the current FilecoinPay auction This auction information can be passed to auctionPriceAt to calculate the current price Auctions are dutch, so the acceptance price decreases over time Each token has a separate auction

ParameterTypeDescription
clientClient<Transport, Chain>used to read the FilecoinPay contract
token`0x${string}`specifies which token’s auction

Promise<AuctionInfo>

the auction startPrice and startTime