Skip to content

Index

Synapse Core - Payments Contract Operations

import * as Pay from '@filoz/synapse-core/pay'
Type AliasDescription
AccountInfoOptions-
AccountInfoResult-
DepositAndApproveOptions-
DepositOptions-
OperatorApprovalsOptions-
OperatorApprovalsResult-
SetOperatorApprovalOptions-
WithdrawOptions-
FunctionDescription
accountInfoGet the account info from the payments contract.
depositDeposit funds to the payments contract.
depositAndApproveDeposit funds to the payments contract and approve an operator.
operatorApprovalsGet the operator approvals from the payments contract.
setOperatorApprovalSet the operator approval for the payments contract.
withdrawWithdraw funds from the payments contract.