Interface: IPayTransactionPayload
Passed to the callbacks when the payment is being broadcasted and confirmed
Properties
amount
• Optional
amount: string
Payment amount in ETH's or token's WEI
Defined in
amountArbitrator
• Optional
amountArbitrator: string
Amount (in ETH's or token's WEI) which the arbitrator would receive if the payment was claimed as is (amount * fee in this case)
Defined in
amountBuyer
• Optional
amountBuyer: string
Amount (in ETH's or token's WEI) which the buyer would receive if the payment was claimed as is (0 in this case)
Defined in
amountMarketplace
• Optional
amountMarketplace: string
Amount (in ETH's or token's WEI) which the marketplace would receive if the payment was claimed as is (amount * fee in this case)
Defined in
amountProtocol
• Optional
amountProtocol: string
Amount (in ETH's or token's WEI) which the protocol would receive if the payment was claimed as is (amount * fee in this case)
Defined in
amountSeller
• Optional
amountSeller: string
Amount (in ETH's or token's WEI) which the seller would receive if the payment was claimed as is (amount - fees in this case)
Defined in
arbitrator
• Optional
arbitrator: string
Arbitrator address (null if none)
Defined in
arbitratorFee
• Optional
arbitratorFee: number
Arbitrator fee specified in the payment (%, can be 0)
Defined in
blockNumber
• Optional
blockNumber: number
Number of the block in which the payment transaction was minted
Defined in
buyer
• Optional
buyer: string
Address of the buyer (who sent the payment)
Defined in
challengePeriod
• Optional
challengePeriod: number
Initial challenge period (seconds)
Defined in
challengePeriodEnd
• Optional
challengePeriodEnd: Date
When does the current challenge period end (paidAt + challengePeriod in this case)
Defined in
challengePeriodExtension
• Optional
challengePeriodExtension: number
By how much does the challenge period extend after each challenge
Defined in
challengePeriodStart
• Optional
challengePeriodStart: Date
When does the current challenge period start (same as paidAt in this case)
Defined in
claimed
• Optional
claimed: boolean
If the payment was claimed (always false here)
Defined in
consensusBuyer
• Optional
consensusBuyer: number
Buyer's consensus over the escrow (0 in this case)
Defined in
consensusSeller
• Optional
consensusSeller: number
Seller's consensus over the scrow (1 in this case)
Defined in
escrowId
• Optional
escrowId: number
Escrow Id generated by the contract (available only in confirmed callback)
Defined in
marketplace
• Optional
marketplace: string
Address of the marketplace that facilitated the payment (null if none)
Defined in
marketplaceFee
• Optional
marketplaceFee: number
Marketplace fee (%, can be 0 even if a marketplace was defined)
Defined in
name
• Optional
name: string
Name of the event ('Pay')
Defined in
paidAt
• Optional
paidAt: Date
When was the payment sent
Defined in
paymentReference
• Optional
paymentReference: string
A text reference that was attached to the payment
Defined in
seller
• Optional
seller: string
Address of the seller (whom is the payment for)
Defined in
splitBuyer
• Optional
splitBuyer: number
Buyer's split of the payment (0 in this case)
Defined in
splitMarketplace
• Optional
splitMarketplace: number
Marketplace fee (%)
Defined in
splitProtocol
• Optional
splitProtocol: number
Protocol fee (%)
Defined in
splitSeller
• Optional
splitSeller: number
Seller's split of the payment (100 in this case)
Defined in
tokenAddress
• Optional
tokenAddress: string
Token used in the payment (null for ETH)
Defined in
transactionHash
• transactionHash: string