Skip to main content

Payments

@pegasys-fi/v3-sdk / Exports / Payments

Class: Payments

Table of contents

Constructors

Properties

Methods

Constructors

constructor

Private new Payments()

Cannot be constructed.

Defined in

payments.ts:25

Properties

INTERFACE

Static INTERFACE: Interface

Defined in

payments.ts:20

Methods

encodeFeeBips

Static Private encodeFeeBips(fee): string

Parameters

NameType
feePercent

Returns

string

Defined in

payments.ts:27


encodeRefundETH

Static encodeRefundETH(): string

Returns

string

Defined in

payments.ts:73


encodeSweepToken

Static encodeSweepToken(token, amountMinimum, recipient, feeOptions?): string

Parameters

NameType
tokenToken
amountMinimumdefault
recipientstring
feeOptions?FeeOptions

Returns

string

Defined in

payments.ts:49


encodeUnwrapWETH9

Static encodeUnwrapWETH9(amountMinimum, recipient, feeOptions?): string

Parameters

NameType
amountMinimumdefault
recipientstring
feeOptions?FeeOptions

Returns

string

Defined in

payments.ts:31