Skip to content

auctionInfo

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>The client to use to get the auction info.
token`0x${string}`The token whose auction to query.

Promise<AuctionInfo>

the auction startPrice and startTime