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
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
client | Client<Transport, Chain> | The client to use to get the auction info. |
token | `0x${string}` | The token whose auction to query. |
Returns
Section titled “Returns”the auction startPrice and startTime