Type Aliases
AccountActions
Properties
fund()
Parameters
options
Omit
<SolanaFundOptions
, "address"
>
The options for the fund operation.
Returns
Promise
<FundOperationResult
>
A promise that resolves to the fund operation result containing the transfer details.
Example
quoteFund()
Parameters
options
Omit
<SolanaQuoteFundOptions
, "address"
>
The options for the quote fund.
Returns
Promise
<SolanaQuote
>
A promise that resolves to a Quote object containing details about the funding operation.
Example
requestFaucet()
Parameters
options
Omit
<RequestFaucetOptions
, "address"
>
Parameters for requesting funds from the Solana faucet.
Returns
Promise
<SignatureResult
>
A promise that resolves to the transaction hash.
Example
sendTransaction()
Parameters
options
Omit
<SendTransactionOptions
, "address"
>
Parameters for sending the transaction.
Returns
Promise
<SendTransactionResult
>
A promise that resolves to the transaction signature.
Example
signMessage()
Parameters
options
Omit
<SignMessageOptions
, "address"
>
Parameters for signing the message.
Returns
Promise
<SignatureResult
>
A promise that resolves to the signature.
Example
signTransaction()
Parameters
options
Omit
<SignTransactionOptions
, "address"
>
Parameters for signing the transaction.
Returns
Promise
<SignTransactionResult
>
A promise that resolves to the signature.
Example
transfer()
Parameters
options
Omit
<TransferOptions
, "from"
>
Parameters for the transfer.
Returns
Promise
<SignatureResult
>
A promise that resolves to the transaction signature, which can be used to wait for the transaction result.
Example
Methods
waitForFundOperationReceipt()
Parameters
options
WaitForFundOperationOptions
The options for the wait for fund operation.
Returns
Promise
<WaitForFundOperationResult
>
A promise that resolves to the completed transfer receipt containing details about the funding operation.