SubstrateApp
class SubstrateApp { }
constructor(
transport: any,
cla: number,
slip0044: number,
);cla: number;
slip0044: number;
transport: Transport;
appInfo(): Promise<any>;
getAddress(
account: number,
change: number,
addressIndex: number,
requireConfirmation?: boolean,
scheme?: number,
): Promise<ResponseAddress>;getAllowlistHash(): Promise<ResponseAllowlistHash>;
getAllowlistPubKey(): Promise<ResponseAllowlistPubKey>;
getVersion(): Promise<ResponseVersion>;
setAllowlistPubKey(pk: Buffer): Promise<any>;
sign(
account: number,
change: number,
addressIndex: number,
message: Buffer,
scheme?: number,
): Promise<ResponseSign>;signSendChunk(
chunkIdx: number,
chunkNum: number,
chunk: any,
scheme?: number,
): Promise<any>;uploadAllowlist(message: any): Promise<any>;
uploadSendChunk(
chunkIdx: number,
chunkNum: number,
chunk: any,
): Promise<any>;static GetChunks(message: Buffer): Buffer[];
static serializePath(
slip0044: number,
account: number,
change: number,
addressIndex: number,
): Buffer;static signGetChunks(
slip0044: number,
account: number,
change: number,
addressIndex: number,
message: Buffer,
): Buffer[];§Properties
§Methods
§
getAddress(account: number, change: number, addressIndex: number, requireConfirmation?: boolean, scheme?: number): Promise<ResponseAddress>
[src]§
sign(account: number, change: number, addressIndex: number, message: Buffer, scheme?: number): Promise<ResponseSign>
[src]