Near
getNearSignedTransaction
This function for :
.NEAR
- near (NEAR).NEAR_TOKEN
- near token.NEAR_TESTNET
- near testnet (NEARt)
Parameters
coinType: near networks coin type
nearTransaction: (NearTransation)near transaction parameter
class NearTransaction
Name | Type | Description |
---|---|---|
sigHash |
| transaction that has not been signed of near transaction |
key |
| sign key path for near transaction |
fee |
| transaction fee of near transaction * fee value is configured in near(NEAR) unit. |
nonce |
| (optional)transaction nonce of near transaction |
decimals |
| transaction decimals of near transaction |
symbol |
| transaction symbol of near transaction |
optionParam |
| (optional) hexadecimal value of the token method type is used only in near token.
- '02' : Function call(ft_transfer)
- ' |
Returns
result: (Bool)
true
if successful,false
if error occurredtxData: signed transaction
Requirements
D'CENT Biometric Wallet version 2.24.0 or higher is required.
(for near-token): 2.27.1 or higher is required.
Example
Last updated