pai
Preparing search index...
pai
payFromWallet
Function payFromWallet
payFromWallet
(
env
:
Env
,
req
:
SolanaPaymentRequest
,
opts
?:
{
onStatus
?:
(
s
:
string
)
=>
void
;
sleep
?:
(
ms
:
number
)
=>
Promise
<
void
>
;
wallet
?:
string
;
}
,
)
:
Promise
<
string
>
Sends exactly what a payment request asks for, from the wallet, and waits for it to confirm.
Parameters
env
:
Env
req
:
SolanaPaymentRequest
opts
:
{
onStatus
?:
(
s
:
string
)
=>
void
;
sleep
?:
(
ms
:
number
)
=>
Promise
<
void
>
;
wallet
?:
string
;
}
= {}
Returns
Promise
<
string
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
pai
Loading...
Sends exactly what a payment request asks for, from the wallet, and waits for it to confirm.