Solana
getSolanaSignedTransaction
This function for :
.SOLANA
- solana (SOL).SPL_TOKEN
- solana token
Parameters
coinType: solana networks coin type
solanaTransaction: (SolanaTransation)solana transaction parameter
class SolanaTransaction
Name | Type | Description |
---|---|---|
key |
| sign key path for stacks transaction |
signHash |
| transaction that has not been signed of stacks transaction |
fee |
| transaction fee of stacks transaction * fee value is configured in solana(SOL) unit |
symbol |
| transaction symbol of stacks transaction |
decimals |
| transaction decimals of stacks transaction |
optionParam |
| (optional)hexadecimal value of the token method type is used only in spl token - '01' : assert transfer - '02' : token stake - '03' + amount(8bytes) : for dapp (amount value is configured in lamport unit) |
Returns
result: (Bool)
true
if successful,false
if error occurredtxData: signed transaction
Requirements
D'CENT Biometric Wallet version 2.16.5. or higher is required.
(for spl-token): 2.17.1. or higher is required.
Example
Last updated