UNPKG

@ledgerhq/coin-aptos

Version:
28 lines 756 B
/// <reference types="node" /> /// <reference types="node" /> export interface AptosAddress { publicKey: Buffer; chainCode: Buffer; address: string; } export interface AptosSigner { getAddress(path: string, display: boolean): Promise<AptosAddress>; signTransaction(path: string, txBuffer: Buffer): Promise<{ signature: Buffer; }>; } export type AptosSignature = { signature: null | Buffer; return_code: number; error_message: string; signature_der: Uint8Array; signature_compact: Uint8Array; }; export type AptosGetAddrResponse = { addrByte: Uint8Array; addrString: string; compressed_pk: Uint8Array; return_code: number; error_message: string; }; //# sourceMappingURL=signer.d.ts.map