@terra-money/ledger-terra-js
Version:
API for Terra App (Ledger Nano S/X)
47 lines (46 loc) • 973 B
TypeScript
export declare const CLA = 85;
export declare const CHUNK_SIZE = 250;
export declare const APP_KEY = "CSM";
export declare const INS: {
GET_VERSION: number;
INS_PUBLIC_KEY_SECP256K1: number;
SIGN_SECP256K1: number;
GET_ADDR_SECP256K1: number;
};
export declare const PAYLOAD_TYPE: {
INIT: number;
ADD: number;
LAST: number;
};
export declare const P1_VALUES: {
ONLY_RETRIEVE: number;
SHOW_ADDRESS_IN_DEVICE: number;
};
export declare const ERROR_CODE: {
NoError: number;
};
export declare const ERROR_DESCRIPTION: {
1: string;
2: string;
3: string;
4: string;
5: string;
14: string;
36864: string;
36865: string;
26626: string;
25600: string;
26368: string;
27010: string;
27011: string;
27012: string;
27013: string;
27014: string;
27264: string;
27392: string;
27404: string;
27904: string;
28160: string;
28416: string;
28417: string;
};