Skip to content

auctionFunds

function auctionFunds(client, token): Promise<bigint>;

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

Get the current funds available in the FilecoinPay auction These auction funds accrue as payment rails settle 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<bigint>

how much of the token is available to purchasae in the auction