stellarSignTransaction
Stellar: Sign transaction
Asks device to sign given transaction using the private key derived by given BIP32 path. User is asked to confirm all transaction details on OneKey.
const result = await HardwareSDK.stellarSignTransaction(connectId, deviceId, params);Params
path- requiredstring | Array<number>length is3, Here's a special chain. read morenetworkPassphrase- requiredstringnetwork passphrasetransaction- requiredObjecttype of StellarTransaction
StellarTransaction Type
export type StellarTransaction = {
source: string;
fee: number;
sequence: string | number;
timebounds?: {
minTime: number;
maxTime: number;
};
memo?: {
type: 0 | 1 | 2 | 3 | 4;
id?: string;
text?: string;
hash?: string | Buffer;
};
operations: StellarOperation[];
};Examples
Result
Error
Last updated
Was this helpful?