Search
Preparing search index...
The search index is not available
Home
P2PPaymentService
Class P2PPaymentService
Hierarchy
Service
P2PPaymentService
Index
Properties
p2p
Payment
Deposit
Address$
Accessors
p2p
Payment
Deposit
Address
Methods
build
P2PPayment
Deposit
Withdrawal
Transaction
Request
decrease
P2PPayment
Deposit
destroy
get
P2PPayment
Channel
get
P2PPayment
Channel
Payments
get
P2PPayment
Channels
get
P2PPayment
Channels
Admin
increase
P2PPayment
Channel
Amount
init
sign
P2PPayment
Channel
sync
P2PPayment
Deposit
sync
P2PPayment
Deposits
update
P2PPayment
Channel
update
P2PPayment
Deposit
Properties
Readonly
p2p
Payment
Deposit
Address$
p2p
Payment
Deposit
Address$
:
UniqueSubject
<
string
>
= new UniqueSubject<string>()
Accessors
p2p
Payment
Deposit
Address
get
p2pPaymentDepositAddress
(
)
:
string
Returns
string
Methods
build
P2PPayment
Deposit
Withdrawal
Transaction
Request
build
P2PPayment
Deposit
Withdrawal
Transaction
Request
(
deposit
:
P2PPaymentDeposit
)
:
TransactionRequest
Parameters
deposit:
P2PPaymentDeposit
Returns
TransactionRequest
decrease
P2PPayment
Deposit
decrease
P2PPayment
Deposit
(
token
:
string
, amount
:
BigNumber
)
:
Promise
<
P2PPaymentDeposit
>
Parameters
token:
string
amount:
BigNumber
Returns
Promise
<
P2PPaymentDeposit
>
destroy
destroy
(
)
:
void
Returns
void
get
P2PPayment
Channel
get
P2PPayment
Channel
(
hash
:
string
)
:
Promise
<
P2PPaymentChannel
>
Parameters
hash:
string
Returns
Promise
<
P2PPaymentChannel
>
get
P2PPayment
Channel
Payments
get
P2PPayment
Channel
Payments
(
channel
:
string
, page
?:
number
)
:
Promise
<
P2PPaymentChannelPayments
>
Parameters
channel:
string
Default value
page:
number
= null
Returns
Promise
<
P2PPaymentChannelPayments
>
get
P2PPayment
Channels
get
P2PPayment
Channels
(
senderOrRecipient
:
string
, filters
:
{
uncommittedOnly
:
boolean
}
, page
?:
number
)
:
Promise
<
P2PPaymentChannels
>
Parameters
senderOrRecipient:
string
filters:
{
uncommittedOnly
:
boolean
}
uncommitted
Only
:
boolean
Default value
page:
number
= null
Returns
Promise
<
P2PPaymentChannels
>
get
P2PPayment
Channels
Admin
get
P2PPayment
Channels
Admin
(
dto
:
GetP2PPaymentChannelsAdminDto
)
:
Promise
<
P2PPaymentChannels
>
Parameters
dto:
GetP2PPaymentChannelsAdminDto
Returns
Promise
<
P2PPaymentChannels
>
increase
P2PPayment
Channel
Amount
increase
P2PPayment
Channel
Amount
(
recipient
:
string
, token
:
string
, value
:
BigNumber
, uidSalt
?:
string
)
:
Promise
<
P2PPaymentChannel
>
Parameters
recipient:
string
token:
string
value:
BigNumber
Default value
uidSalt:
string
= null
Returns
Promise
<
P2PPaymentChannel
>
init
init
(
context
:
Context
)
:
void
Parameters
context:
Context
Returns
void
sign
P2PPayment
Channel
sign
P2PPayment
Channel
(
hash
:
string
)
:
Promise
<
P2PPaymentChannel
>
Parameters
hash:
string
Returns
Promise
<
P2PPaymentChannel
>
sync
P2PPayment
Deposit
sync
P2PPayment
Deposit
(
owner
:
string
, token
:
string
)
:
Promise
<
P2PPaymentDeposit
>
Parameters
owner:
string
token:
string
Returns
Promise
<
P2PPaymentDeposit
>
sync
P2PPayment
Deposits
sync
P2PPayment
Deposits
(
owner
:
string
, tokens
:
string
[]
)
:
Promise
<
P2PPaymentDeposits
>
Parameters
owner:
string
tokens:
string
[]
Returns
Promise
<
P2PPaymentDeposits
>
update
P2PPayment
Channel
update
P2PPayment
Channel
(
recipient
:
string
, token
:
string
, totalAmount
:
BigNumber
, uidSalt
?:
string
)
:
Promise
<
P2PPaymentChannel
>
Parameters
recipient:
string
token:
string
totalAmount:
BigNumber
Default value
uidSalt:
string
= null
Returns
Promise
<
P2PPaymentChannel
>
update
P2PPayment
Deposit
update
P2PPayment
Deposit
(
token
:
string
, totalAmount
:
BigNumber
)
:
Promise
<
P2PPaymentDeposit
>
Parameters
token:
string
totalAmount:
BigNumber
Returns
Promise
<
P2PPaymentDeposit
>
Globals
P2PPayment
Service
p2p
Payment
Deposit
Address$
p2p
Payment
Deposit
Address
build
P2PPayment
Deposit
Withdrawal
Transaction
Request
decrease
P2PPayment
Deposit
destroy
get
P2PPayment
Channel
get
P2PPayment
Channel
Payments
get
P2PPayment
Channels
get
P2PPayment
Channels
Admin
increase
P2PPayment
Channel
Amount
init
sign
P2PPayment
Channel
sync
P2PPayment
Deposit
sync
P2PPayment
Deposits
update
P2PPayment
Channel
update
P2PPayment
Deposit