Skip to content

parseAccounts

parseAccounts(data, currentEpoch): OutputType

Defined in: packages/synapse-core/src/pay/accounts.ts:162

Parse the contract output into the accounts output type

Parameter Type Description
data readonly [bigint, bigint, bigint, bigint] The contract output from the accounts function
currentEpoch bigint The current epoch (block number in filecoin)

OutputType

The parsed account information accounts.OutputType