APDU_CODES
const APDU_CODES: { APP_NOT_OPEN: number; BAD_KEY_HANDLE: number; BUSY: number; CLA_NOT_SUPPORTED: number; COMMAND_NOT_ALLOWED: number; CONDITIONS_NOT_SATISFIED: number; DATA_INVALID: number; EMPTY_BUFFER: number; EXECUTION_ERROR: number; INS_NOT_SUPPORTED: number; INVALIDP1P2: number; OK: number; OUTPUT_BUFFER_TOO_SMALL: number; SIGN_VERIFY_ERROR: number; UNKNOWN: number; WRONG_LENGTH: number;};
Defined in: packages/iso-filecoin/src/ledger.js:48
APDU codes
Type declaration
APP_NOT_OPEN
APP_NOT_OPEN: number = 0x6e01;
BAD_KEY_HANDLE
BAD_KEY_HANDLE: number = 0x6a80;
Ledger name is INCORRECT_DATA
See
BUSY
BUSY: number = 0x9001;
CLA_NOT_SUPPORTED
CLA_NOT_SUPPORTED: number = 0x6e00;
COMMAND_NOT_ALLOWED
COMMAND_NOT_ALLOWED: number = 0x6986;
CONDITIONS_NOT_SATISFIED
CONDITIONS_NOT_SATISFIED: number = 0x6985;
ledger supports
See
DATA_INVALID
DATA_INVALID: number = 0x6984;
EMPTY_BUFFER
EMPTY_BUFFER: number = 0x6982;
Ledger name is SECURITY_STATUS_NOT_SATISFIED
See
EXECUTION_ERROR
EXECUTION_ERROR: number = 0x6400;
INS_NOT_SUPPORTED
INS_NOT_SUPPORTED: number = 0x6d00;
INVALIDP1P2
INVALIDP1P2: number = 0x6b00;
ledger supports
See
OK
OK: number = 0x9000;
OUTPUT_BUFFER_TOO_SMALL
OUTPUT_BUFFER_TOO_SMALL: number = 0x6983;
SIGN_VERIFY_ERROR
SIGN_VERIFY_ERROR: number = 0x6f01;
UNKNOWN
UNKNOWN: number = 0x6f00;
WRONG_LENGTH
WRONG_LENGTH: number = 0x6700;