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
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
client | Client<Transport, Chain> | used to read the FilecoinPay contract |
token | `0x${string}` | specifies which token’s auction |
Returns
Section titled “Returns”the auction startPrice and startTime