Skip to main content

Interface: IBalanceWithTokenInfo

More detailed information about user's balance in an escrow

Hierarchy

Properties

amount

amount: string

Amount in ETH's or token's WEI

Inherited from

IBalance.amount

Defined in

typing/index.ts:905


amountBN

amountBN: BigNumberJs

Helper field used when calculating with other BigNumber fields

Defined in

typing/index.ts:930


amountInUSD

Optional amountInUSD: string

Amount converted to USD (using Coingecko's API on the client side)

Inherited from

IBalance.amountInUSD

Defined in

typing/index.ts:908


connectedUser

connectedUser: tConnectedUser

User's role in the escrow ('buyer' | 'seller' | 'arbitrator' | 'marketplace' | 'other')

Defined in

typing/index.ts:933


connectedWallet

connectedWallet: string

Address of the connected user

Defined in

typing/index.ts:936


displayableAmount

displayableAmount: any

Amount converted to human readable form

Defined in

typing/index.ts:927


status

status: "Pending" | "Ready to claim"

Whether the balance is still waiting for the challenge period to end, or is ready to claim

Inherited from

IBalance.status

Defined in

typing/index.ts:914


statusEscrow

statusEscrow: IEscrowStatus

Indicates status of the payment (PAID | UNPAID | RELEASED | PERIOD_EXPIRED | REFUNDED | CHALLENGED | SETTLED)

Defined in

typing/index.ts:939


token

Optional token: IToken

Information about the token

Inherited from

IBalance.token

Defined in

typing/index.ts:911