Skip to Content

Tx

class

Tx

Constructor

constructor
Tx(__namedParameters: ConstructorParams): Tx

Parameters:

__namedParameters: ConstructorParams

Returns:

Tx

Properties

addresses
coinAmount?
coinName?
string
confirmations
number
currencies
Record
data
Record
date
Date
dropped?
boolean
error?
null | string
feeAmount?
feeCoinName?
string
from
string[]
meta
Record
selfSend
boolean
to?
string
tokens
string[]
txId?
string
version
number
_isInstance
any
isInstance
any

Methods

clone
clone(): any

Returns:

any
equals
equals(otherTx: Tx): boolean

Parameters:

otherTx: Tx

Returns:

boolean
toJSON
toJSON(): Partial

Returns:

Partial
toRedactedJSON
toRedactedJSON(): Partial

Returns:

Partial
toString
toString(): string

Returns:

string
update
update(fields: Tx | Partial): any

Parameters:

fields: Tx | Partial

Returns:

any
[hasInstance]
[hasInstance](x: any): any

Parameters:

x: any

Returns:

any
fromJSON
fromJSON(jsonOrString: string | TxProps): any

Parameters:

jsonOrString: string | TxProps

Returns:

any

Accessors

accepted
confirmed
failed
pending
received
sent
token
[ModelIdSymbol]

Start building

XO

Request Demo

Schedule a call with our team

Select a product
Arrow right

Start building
Grateful

Contact Us

We're here to help