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
sigHash
String
transaction that has not been signed of near transaction
key
String
sign key path for near transaction
fee
String
transaction fee of near transaction * fee value is configured in near(NEAR) unit.
nonce
String
(optional)transaction nonce of near transaction
decimals
String
transaction decimals of near transaction
symbol
String
transaction symbol of near transaction
optionParam
String
(optional) hexadecimal value of the token method type is used only in near token.
- '02' : Function call(ft_transfer)
- '04' : Stake (The method will be supported later.)
- '08' : Delegate (The method will be supported later)
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