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 whose Ok value is an NEARLedgerAppVersion (just a Vec<u8> for now, where first value is a major version, second is a minor and the last is the path) and whose Err value is a NEARLedgerError containing an error which occurred. Something