Skip to content

operatorApprovals

function operatorApprovals(client, options): Promise<OperatorApprovalsResult>;

Defined in: packages/synapse-core/src/pay/operators.ts:46

Get the operator approvals from the payments contract.

ParameterTypeDescription
clientClient<Transport, Chain>The client to use.
optionsOperatorApprovalsOptionsThe options to use.

Promise<OperatorApprovalsResult>

The operator approvals.

  • ReadContractErrorType if the read contract fails.