Search
Preparing search index...
The search index is not available
haveno-ts
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
haveno-ts
protobuf/pb_pb
Trade
Class Trade
Hierarchy
unknown
Trade
Index
Constructors
constructor
Methods
add
Chat
Message
clear
Arbitrator
Node
Address
clear
Chat
Message
List
clear
Contract
clear
Mediator
Node
Address
clear
Offer
clear
Process
Model
clear
Refund
Agent
Node
Address
get
Amount
As
Long
get
Arbitrator
Node
Address
get
Asset
Tx
Proof
Result
get
Chat
Message
List
get
Contract
get
Contract
As
Json
get
Contract
Hash
get
Contract
Hash_
as
B64
get
Contract
Hash_
as
U8
get
Counter
Currency
Extra
Data
get
Counter
Currency
Tx
Id
get
Dispute
State
get
Error
Message
get
Lock
Time
get
Mediation
Result
State
get
Mediator
Node
Address
get
Offer
get
Payout
State
get
Payout
Tx
Hex
get
Payout
Tx
Id
get
Payout
Tx
Key
get
Period
State
get
Price
get
Process
Model
get
Refund
Agent
Node
Address
get
Refund
Result
State
get
State
get
Take
Offer
Date
get
Taker
Fee
As
Long
get
Tx
Fee
As
Long
get
Uid
has
Arbitrator
Node
Address
has
Contract
has
Mediator
Node
Address
has
Offer
has
Process
Model
has
Refund
Agent
Node
Address
serialize
Binary
set
Amount
As
Long
set
Arbitrator
Node
Address
set
Asset
Tx
Proof
Result
set
Chat
Message
List
set
Contract
set
Contract
As
Json
set
Contract
Hash
set
Counter
Currency
Extra
Data
set
Counter
Currency
Tx
Id
set
Dispute
State
set
Error
Message
set
Lock
Time
set
Mediation
Result
State
set
Mediator
Node
Address
set
Offer
set
Payout
State
set
Payout
Tx
Hex
set
Payout
Tx
Id
set
Payout
Tx
Key
set
Period
State
set
Price
set
Process
Model
set
Refund
Agent
Node
Address
set
Refund
Result
State
set
State
set
Take
Offer
Date
set
Taker
Fee
As
Long
set
Tx
Fee
As
Long
set
Uid
to
Object
deserialize
Binary
deserialize
Binary
From
Reader
serialize
Binary
To
Writer
to
Object
Constructors
constructor
new
Trade
(
)
:
Trade
Returns
Trade
Methods
add
Chat
Message
add
Chat
Message
(
value
?:
ChatMessage
, index
?:
number
)
:
ChatMessage
Parameters
Optional
value:
ChatMessage
Optional
index:
number
Returns
ChatMessage
clear
Arbitrator
Node
Address
clear
Arbitrator
Node
Address
(
)
:
Trade
Returns
Trade
clear
Chat
Message
List
clear
Chat
Message
List
(
)
:
Trade
Returns
Trade
clear
Contract
clear
Contract
(
)
:
Trade
Returns
Trade
clear
Mediator
Node
Address
clear
Mediator
Node
Address
(
)
:
Trade
Returns
Trade
clear
Offer
clear
Offer
(
)
:
Trade
Returns
Trade
clear
Process
Model
clear
Process
Model
(
)
:
Trade
Returns
Trade
clear
Refund
Agent
Node
Address
clear
Refund
Agent
Node
Address
(
)
:
Trade
Returns
Trade
get
Amount
As
Long
get
Amount
As
Long
(
)
:
number
Returns
number
get
Arbitrator
Node
Address
get
Arbitrator
Node
Address
(
)
:
undefined
|
NodeAddress
Returns
undefined
|
NodeAddress
get
Asset
Tx
Proof
Result
get
Asset
Tx
Proof
Result
(
)
:
string
Returns
string
get
Chat
Message
List
get
Chat
Message
List
(
)
:
ChatMessage
[]
Returns
ChatMessage
[]
get
Contract
get
Contract
(
)
:
undefined
|
Contract
Returns
undefined
|
Contract
get
Contract
As
Json
get
Contract
As
Json
(
)
:
string
Returns
string
get
Contract
Hash
get
Contract
Hash
(
)
:
string
|
Uint8Array
Returns
string
|
Uint8Array
get
Contract
Hash_
as
B64
get
Contract
Hash_
as
B64
(
)
:
string
Returns
string
get
Contract
Hash_
as
U8
get
Contract
Hash_
as
U8
(
)
:
Uint8Array
Returns
Uint8Array
get
Counter
Currency
Extra
Data
get
Counter
Currency
Extra
Data
(
)
:
string
Returns
string
get
Counter
Currency
Tx
Id
get
Counter
Currency
Tx
Id
(
)
:
string
Returns
string
get
Dispute
State
get
Dispute
State
(
)
:
DisputeState
Returns
DisputeState
get
Error
Message
get
Error
Message
(
)
:
string
Returns
string
get
Lock
Time
get
Lock
Time
(
)
:
number
Returns
number
get
Mediation
Result
State
get
Mediation
Result
State
(
)
:
MediationResultState
Returns
MediationResultState
get
Mediator
Node
Address
get
Mediator
Node
Address
(
)
:
undefined
|
NodeAddress
Returns
undefined
|
NodeAddress
get
Offer
get
Offer
(
)
:
undefined
|
Offer
Returns
undefined
|
Offer
get
Payout
State
get
Payout
State
(
)
:
PayoutState
Returns
PayoutState
get
Payout
Tx
Hex
get
Payout
Tx
Hex
(
)
:
string
Returns
string
get
Payout
Tx
Id
get
Payout
Tx
Id
(
)
:
string
Returns
string
get
Payout
Tx
Key
get
Payout
Tx
Key
(
)
:
string
Returns
string
get
Period
State
get
Period
State
(
)
:
TradePeriodState
Returns
TradePeriodState
get
Price
get
Price
(
)
:
number
Returns
number
get
Process
Model
get
Process
Model
(
)
:
undefined
|
ProcessModel
Returns
undefined
|
ProcessModel
get
Refund
Agent
Node
Address
get
Refund
Agent
Node
Address
(
)
:
undefined
|
NodeAddress
Returns
undefined
|
NodeAddress
get
Refund
Result
State
get
Refund
Result
State
(
)
:
RefundResultState
Returns
RefundResultState
get
State
get
State
(
)
:
Trade
.
State
Returns
Trade
.
State
get
Take
Offer
Date
get
Take
Offer
Date
(
)
:
number
Returns
number
get
Taker
Fee
As
Long
get
Taker
Fee
As
Long
(
)
:
number
Returns
number
get
Tx
Fee
As
Long
get
Tx
Fee
As
Long
(
)
:
number
Returns
number
get
Uid
get
Uid
(
)
:
string
Returns
string
has
Arbitrator
Node
Address
has
Arbitrator
Node
Address
(
)
:
boolean
Returns
boolean
has
Contract
has
Contract
(
)
:
boolean
Returns
boolean
has
Mediator
Node
Address
has
Mediator
Node
Address
(
)
:
boolean
Returns
boolean
has
Offer
has
Offer
(
)
:
boolean
Returns
boolean
has
Process
Model
has
Process
Model
(
)
:
boolean
Returns
boolean
has
Refund
Agent
Node
Address
has
Refund
Agent
Node
Address
(
)
:
boolean
Returns
boolean
serialize
Binary
serialize
Binary
(
)
:
Uint8Array
Returns
Uint8Array
set
Amount
As
Long
set
Amount
As
Long
(
value
:
number
)
:
Trade
Parameters
value:
number
Returns
Trade
set
Arbitrator
Node
Address
set
Arbitrator
Node
Address
(
value
?:
NodeAddress
)
:
Trade
Parameters
Optional
value:
NodeAddress
Returns
Trade
set
Asset
Tx
Proof
Result
set
Asset
Tx
Proof
Result
(
value
:
string
)
:
Trade
Parameters
value:
string
Returns
Trade
set
Chat
Message
List
set
Chat
Message
List
(
value
:
ChatMessage
[]
)
:
Trade
Parameters
value:
ChatMessage
[]
Returns
Trade
set
Contract
set
Contract
(
value
?:
Contract
)
:
Trade
Parameters
Optional
value:
Contract
Returns
Trade
set
Contract
As
Json
set
Contract
As
Json
(
value
:
string
)
:
Trade
Parameters
value:
string
Returns
Trade
set
Contract
Hash
set
Contract
Hash
(
value
:
string
|
Uint8Array
)
:
Trade
Parameters
value:
string
|
Uint8Array
Returns
Trade
set
Counter
Currency
Extra
Data
set
Counter
Currency
Extra
Data
(
value
:
string
)
:
Trade
Parameters
value:
string
Returns
Trade
set
Counter
Currency
Tx
Id
set
Counter
Currency
Tx
Id
(
value
:
string
)
:
Trade
Parameters
value:
string
Returns
Trade
set
Dispute
State
set
Dispute
State
(
value
:
DisputeState
)
:
Trade
Parameters
value:
DisputeState
Returns
Trade
set
Error
Message
set
Error
Message
(
value
:
string
)
:
Trade
Parameters
value:
string
Returns
Trade
set
Lock
Time
set
Lock
Time
(
value
:
number
)
:
Trade
Parameters
value:
number
Returns
Trade
set
Mediation
Result
State
set
Mediation
Result
State
(
value
:
MediationResultState
)
:
Trade
Parameters
value:
MediationResultState
Returns
Trade
set
Mediator
Node
Address
set
Mediator
Node
Address
(
value
?:
NodeAddress
)
:
Trade
Parameters
Optional
value:
NodeAddress
Returns
Trade
set
Offer
set
Offer
(
value
?:
Offer
)
:
Trade
Parameters
Optional
value:
Offer
Returns
Trade
set
Payout
State
set
Payout
State
(
value
:
PayoutState
)
:
Trade
Parameters
value:
PayoutState
Returns
Trade
set
Payout
Tx
Hex
set
Payout
Tx
Hex
(
value
:
string
)
:
Trade
Parameters
value:
string
Returns
Trade
set
Payout
Tx
Id
set
Payout
Tx
Id
(
value
:
string
)
:
Trade
Parameters
value:
string
Returns
Trade
set
Payout
Tx
Key
set
Payout
Tx
Key
(
value
:
string
)
:
Trade
Parameters
value:
string
Returns
Trade
set
Period
State
set
Period
State
(
value
:
TradePeriodState
)
:
Trade
Parameters
value:
TradePeriodState
Returns
Trade
set
Price
set
Price
(
value
:
number
)
:
Trade
Parameters
value:
number
Returns
Trade
set
Process
Model
set
Process
Model
(
value
?:
ProcessModel
)
:
Trade
Parameters
Optional
value:
ProcessModel
Returns
Trade
set
Refund
Agent
Node
Address
set
Refund
Agent
Node
Address
(
value
?:
NodeAddress
)
:
Trade
Parameters
Optional
value:
NodeAddress
Returns
Trade
set
Refund
Result
State
set
Refund
Result
State
(
value
:
RefundResultState
)
:
Trade
Parameters
value:
RefundResultState
Returns
Trade
set
State
set
State
(
value
:
Trade
.
State
)
:
Trade
Parameters
value:
Trade
.
State
Returns
Trade
set
Take
Offer
Date
set
Take
Offer
Date
(
value
:
number
)
:
Trade
Parameters
value:
number
Returns
Trade
set
Taker
Fee
As
Long
set
Taker
Fee
As
Long
(
value
:
number
)
:
Trade
Parameters
value:
number
Returns
Trade
set
Tx
Fee
As
Long
set
Tx
Fee
As
Long
(
value
:
number
)
:
Trade
Parameters
value:
number
Returns
Trade
set
Uid
set
Uid
(
value
:
string
)
:
Trade
Parameters
value:
string
Returns
Trade
to
Object
to
Object
(
includeInstance
?:
boolean
)
:
Trade
.
AsObject
Parameters
Optional
includeInstance:
boolean
Returns
Trade
.
AsObject
Static
deserialize
Binary
deserialize
Binary
(
bytes
:
Uint8Array
)
:
Trade
Parameters
bytes:
Uint8Array
Returns
Trade
Static
deserialize
Binary
From
Reader
deserialize
Binary
From
Reader
(
message
:
Trade
, reader
:
BinaryReader
)
:
Trade
Parameters
message:
Trade
reader:
BinaryReader
Returns
Trade
Static
serialize
Binary
To
Writer
serialize
Binary
To
Writer
(
message
:
Trade
, writer
:
BinaryWriter
)
:
void
Parameters
message:
Trade
writer:
BinaryWriter
Returns
void
Static
to
Object
to
Object
(
includeInstance
:
boolean
, msg
:
Trade
)
:
Trade
.
AsObject
Parameters
includeInstance:
boolean
msg:
Trade
Returns
Trade
.
AsObject
Modules
Haveno
Client
index
index
protobuf/
Grpc
Service
Client
Pb
protobuf/grpc_
pb
protobuf/pb_
pb
Account
Age
Witness
Account
Age
Witness
Store
Ach
Transfer
Account
Payload
Ack
Message
Add
Data
Message
Add
Persistable
Network
Payload
Message
Address
Entry
Address
Entry
List
Advanced
Cash
Account
Payload
Alert
Ali
Pay
Account
Payload
Amazon
Gift
Card
Account
Payload
Arbitration
Dispute
List
Arbitrator
Arbitrator
Trade
Attachment
Australia
Payid
Payload
Auto
Confirm
Settings
Bank
Account
Payload
Bizum
Account
Payload
Block
Chain
Explorer
Bundle
Of
Envelopes
Buyer
As
Maker
Trade
Buyer
As
Taker
Trade
Byte
Array
Capitual
Account
Payload
Cash
App
Account
Payload
Cash
By
Mail
Account
Payload
Cash
Deposit
Account
Payload
Cel
Pay
Account
Payload
Chase
Quick
Pay
Account
Payload
Chat
Message
Clear
Xchange
Account
Payload
Close
Connection
Message
Contract
Country
Country
Based
Payment
Account
Payload
Crypto
Currency
Crypto
Currency
Account
Payload
Currency
Data
And
Seq
Nr
Pair
Decrypted
Message
With
Pub
Key
Delayed
Payout
Tx
Signature
Request
Delayed
Payout
Tx
Signature
Response
Deposit
Request
Deposit
Response
Deposit
Tx
And
Delayed
Payout
Tx
Message
Deposit
Tx
Message
Deposits
Confirmed
Message
Dispute
Dispute
Closed
Message
Dispute
Opened
Message
Dispute
Result
Domestic
Wire
Transfer
Account
Payload
Encrypted
Connection
Encrypted
Connection
List
F2FAccount
Payload
Faster
Payments
Account
Payload
Fiat
Currency
Filter
Get
Data
Response
Get
Inventory
Request
Get
Inventory
Response
Get
Peers
Request
Get
Peers
Response
Get
Updated
Data
Request
Hal
Cash
Account
Payload
Ifsc
Based
Account
Payload
Ignored
Mailbox
Map
Imps
Account
Payload
Init
Multisig
Request
Init
Trade
Request
Inputs
For
Deposit
Tx
Request
Inputs
For
Deposit
Tx
Response
Instant
Crypto
Currency
Account
Payload
InteracETransfer
Account
Payload
Japan
Bank
Account
Payload
Mailbox
Item
Mailbox
Message
List
Mailbox
Storage
Payload
Map
Value
Market
Alert
Filter
Mediated
Payout
Tx
Published
Message
Mediated
Payout
Tx
Signature
Message
Mediation
Dispute
List
Mediator
Mock
Mailbox
Payload
Mock
Payload
Monero
Node
Settings
Monese
Account
Payload
Money
Beam
Account
Payload
Money
Gram
Account
Payload
National
Bank
Account
Payload
Navigation
Path
Neft
Account
Payload
Nequi
Account
Payload
Network
Envelope
Node
Address
OKPay
Account
Payload
Offer
Offer
Availability
Request
Offer
Availability
Response
Offer
Payload
Open
Offer
Paxum
Account
Payload
Payment
Account
Payment
Account
Filter
Payment
Account
Form
Payment
Account
Form
Field
Payment
Account
List
Payment
Account
Payload
Payment
Method
Payment
Received
Message
Payment
Sent
Message
Paysera
Account
Payload
Paytm
Account
Payload
Peer
Peer
List
Peer
Published
Delayed
Payout
Tx
Message
Perfect
Money
Account
Payload
Persistable
Envelope
Persistable
Network
Payload
Persisted
Entry
Map
Ping
Pix
Account
Payload
Pong
Popmoney
Account
Payload
Preferences
Payload
Prefixed
Sealed
And
Signed
Message
Preliminary
Get
Data
Request
Price
Alert
Filter
Private
Notification
Message
Private
Notification
Payload
Process
Model
Prompt
Pay
Account
Payload
Protected
Mailbox
Storage
Entry
Protected
Storage
Entry
Pub
Key
Ring
Raw
Transaction
Input
Refresh
Offer
Message
Refresh
Trade
State
Request
Refund
Agent
Refund
Dispute
List
Region
Remove
Data
Message
Remove
Mailbox
Data
Message
Removed
Payloads
Map
Revolut
Account
Payload
Rtgs
Account
Payload
Same
Bank
Account
Payload
Satispay
Account
Payload
Sealed
And
Signed
Seller
As
Maker
Trade
Seller
As
Taker
Trade
Sepa
Account
Payload
Sepa
Instant
Account
Payload
Sequence
Number
Entry
Sequence
Number
Map
Sign
Contract
Request
Sign
Contract
Response
Sign
Offer
Request
Sign
Offer
Response
Signed
Offer
Signed
Offer
List
Signed
Witness
Signed
Witness
Store
Specific
Banks
Account
Payload
Storage
Entry
Wrapper
Storage
Payload
Strike
Account
Payload
Swift
Account
Payload
Swish
Account
Payload
Tikkie
Account
Payload
Tradable
Tradable
List
Trade
Trade
Currency
Trade
Statistics2
Trade
Statistics2
Store
Trade
Statistics3
Trade
Statistics3
Store
Trader
Signed
Witness
Message
Trading
Peer
Transferwise
Account
Payload
Transferwise
Usd
Account
Payload
USPostal
Money
Order
Account
Payload
Uphold
Account
Payload
Upi
Account
Payload
User
Payload
Venmo
Account
Payload
Verse
Account
Payload
We
Chat
Pay
Account
Payload
Western
Union
Account
Payload
Xmr
Address
Entry
Xmr
Address
Entry
List
utils/
Haveno
Error
utils/
Haveno
Utils
utils/
Task
Looper
Trade
constructor
add
Chat
Message
clear
Arbitrator
Node
Address
clear
Chat
Message
List
clear
Contract
clear
Mediator
Node
Address
clear
Offer
clear
Process
Model
clear
Refund
Agent
Node
Address
get
Amount
As
Long
get
Arbitrator
Node
Address
get
Asset
Tx
Proof
Result
get
Chat
Message
List
get
Contract
get
Contract
As
Json
get
Contract
Hash
get
Contract
Hash_
as
B64
get
Contract
Hash_
as
U8
get
Counter
Currency
Extra
Data
get
Counter
Currency
Tx
Id
get
Dispute
State
get
Error
Message
get
Lock
Time
get
Mediation
Result
State
get
Mediator
Node
Address
get
Offer
get
Payout
State
get
Payout
Tx
Hex
get
Payout
Tx
Id
get
Payout
Tx
Key
get
Period
State
get
Price
get
Process
Model
get
Refund
Agent
Node
Address
get
Refund
Result
State
get
State
get
Take
Offer
Date
get
Taker
Fee
As
Long
get
Tx
Fee
As
Long
get
Uid
has
Arbitrator
Node
Address
has
Contract
has
Mediator
Node
Address
has
Offer
has
Process
Model
has
Refund
Agent
Node
Address
serialize
Binary
set
Amount
As
Long
set
Arbitrator
Node
Address
set
Asset
Tx
Proof
Result
set
Chat
Message
List
set
Contract
set
Contract
As
Json
set
Contract
Hash
set
Counter
Currency
Extra
Data
set
Counter
Currency
Tx
Id
set
Dispute
State
set
Error
Message
set
Lock
Time
set
Mediation
Result
State
set
Mediator
Node
Address
set
Offer
set
Payout
State
set
Payout
Tx
Hex
set
Payout
Tx
Id
set
Payout
Tx
Key
set
Period
State
set
Price
set
Process
Model
set
Refund
Agent
Node
Address
set
Refund
Result
State
set
State
set
Take
Offer
Date
set
Taker
Fee
As
Long
set
Tx
Fee
As
Long
set
Uid
to
Object
deserialize
Binary
deserialize
Binary
From
Reader
serialize
Binary
To
Writer
to
Object
Generated using
TypeDoc