Preparing search index...
The search index is not available
@cashu/cashu-ts
@cashu/cashu-ts
PaymentRequest
Class PaymentRequest
Hierarchy
PaymentRequest
Index
Constructors
constructor
Properties
amount?
description?
id?
mints?
single
Use
transport
unit?
Methods
get
Transport
to
Encoded
Request
from
Encoded
Request
Constructors
constructor
new
Payment
Request
(
transport
,
id
?
,
amount
?
,
unit
?
,
mints
?
,
description
?
,
singleUse
?
)
:
PaymentRequest
Parameters
transport
:
PaymentRequestTransport
[]
Optional
id
:
string
Optional
amount
:
number
Optional
unit
:
string
Optional
mints
:
string
[]
Optional
description
:
string
singleUse
:
boolean
= false
Returns
PaymentRequest
Properties
Optional
amount
amount
?:
number
Optional
description
description
?:
string
Optional
id
id
?:
string
Optional
mints
mints
?:
string
[]
single
Use
single
Use
:
boolean
= false
transport
transport
:
PaymentRequestTransport
[]
Optional
unit
unit
?:
string
Methods
get
Transport
get
Transport
(
type
)
:
undefined
|
PaymentRequestTransport
Parameters
type
:
PaymentRequestTransportType
Returns
undefined
|
PaymentRequestTransport
to
Encoded
Request
to
Encoded
Request
(
)
:
string
Returns
string
Static
from
Encoded
Request
from
Encoded
Request
(
encodedRequest
)
:
PaymentRequest
Parameters
encodedRequest
:
string
Returns
PaymentRequest
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
amount
description
id
mints
single
Use
transport
unit
get
Transport
to
Encoded
Request
from
Encoded
Request
@cashu/cashu-
ts
Check
State
Enum
Melt
Quote
State
Mint
Quote
State
Payment
Request
Transport
Type
Cashu
Mint
Cashu
Wallet
Payment
Request
Amount
Preference
Api
Error
Blinded
Message
Data
Blinded
Transaction
Check
State
Entry
Check
State
Payload
Check
State
Response
Get
Info
Response
Invoice
Data
Keys
Melt
Payload
Melt
Quote
Payload
Melt
Quote
Response
Melt
Tokens
Response
Mint
Active
Keys
Mint
All
Keysets
Mint
Contact
Info
Mint
Keys
Mint
Keyset
Mint
Payload
Mint
Quote
Payload
Mint
Quote
Response
Mint
Response
Payment
Payload
Payment
Request
Payload
Payment
Request
Transport
Post
Restore
Payload
Post
Restore
Response
Preferences
Proof
Raw
Payment
Request
Raw
Transport
Receive
Response
Receive
Token
Entry
Response
Send
Response
Serialized
Blinded
Message
Serialized
Blinded
Signature
Swap
Method
Swap
Payload
Swap
Response
Token
Token
Entry
Token
V2
Token
V4
Template
V4
Inner
Token
V4
Proof
Template
decode
Payment
Request
derive
Keyset
Id
derive
Seed
From
Mnemonic
generate
New
Mnemonic
get
Decoded
Token
get
Encoded
Token
get
Encoded
Token
V4
set
Global
Request
Options
Generated using
TypeDoc