Skip to main content

Interface: IPaymentProps

Payment data input

Hierarchy

Properties

amount

amount: any

Amount in token

Defined in

typing/index.ts:29


arbitrator

Optional arbitrator: string

Address of the arbitrator. null for no arbitrator

Defined in

typing/index.ts:41


arbitratorFee

Optional arbitratorFee: number

Arbitrator's fee in %. Can be 0

Defined in

typing/index.ts:43


challengePeriod

challengePeriod: number

Initial challenge period (in seconds)

Defined in

typing/index.ts:33


challengePeriodExtension

Optional challengePeriodExtension: number

By how much will the challenge period get extended after a challenge (in seconds)

Defined in

typing/index.ts:45


marketplace

Optional marketplace: string

address of a marketplace that has facilitated the payment

Defined in

typing/index.ts:37


marketplaceFee

Optional marketplaceFee: number

Marketplace fee in % (can be 0 even if a marketplace was set but doesn't charge fee)

Defined in

typing/index.ts:39


seller

seller: string

Whom is the payment for

Defined in

typing/index.ts:31


tokenAddress

Optional tokenAddress: string

Address of the token used in the payment (skip or set to null for ETH)

Defined in

typing/index.ts:35