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.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
client | Client<Transport, Chain> | The client to use. |
options | OperatorApprovalsOptions | The options to use. |
Returns
Section titled “Returns”Promise<OperatorApprovalsResult>
The operator approvals.
Throws
Section titled “Throws”- ReadContractErrorType if the read contract fails.