parseAccounts
parseAccounts(
data,currentEpoch):OutputType
Defined in: packages/synapse-core/src/pay/accounts.ts:169
Parse the contract output into the accounts output type
Parameters
Section titled “Parameters”| 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) |
Returns
Section titled “Returns”The parsed account information accounts.OutputType