crypto-wallet-core
Version:
A multi-currency support library for address derivation, private key creation, and transaction creation
43 lines • 974 B
TypeScript
import { Key } from '../../derivation';
export declare class XRPTxProvider {
create(params: {
recipients: Array<{
address: string;
amount: string;
tag?: number;
}>;
tag?: number;
from: string;
invoiceID?: string;
fee: number;
feeRate: number;
nonce: number;
type?: string;
flags?: number;
}): string;
getSignatureObject(params: {
tx: string;
key: Key;
}): {
signedTransaction: string;
hash: string;
};
getSignature(params: {
tx: string;
key: Key;
}): string;
getHash(params: {
tx: string;
network?: string;
}): string;
applySignature(params: {
tx: string;
signature: string;
}): string;
sign(params: {
tx: string;
key: Key;
}): string;
sha512Half(hex: string): string;
}
//# sourceMappingURL=index.d.ts.map