Function near_ledger::get_version
source · pub fn get_version() -> Result<NEARLedgerAppVersion, NEARLedgerError>
Expand description
Get the version of NEAR App installed on Ledger
§Returns
- A
Result
whoseOk
value is anNEARLedgerAppVersion
(just aVec<u8>
for now, where first value is a major version, second is a minor and the last is the path) and whoseErr
value is aNEARLedgerError
containing an error which occurred. Something