Skip to content

parseAccounts

parseAccounts(data, currentEpoch): OutputType

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

Parse the contract output into the accounts output type

ParameterTypeDescription
datareadonly [bigint, bigint, bigint, bigint]The contract output from the accounts function
currentEpochbigintThe current epoch (block number in filecoin)

OutputType

The parsed account information accounts.OutputType