@okxweb3/coin-stellar
Version:
@ok/coin-stellar is a Stellar SDK for building Web3 wallets and applications. It supports Stellar and PI blockchains, enabling private key management, address generation, transaction signing, trustline creation, and asset transfers
26 lines (25 loc) • 913 B
TypeScript
export class TransactionBase {
constructor(tx: any, signatures: any, fee: any, networkPassphrase: any);
_networkPassphrase: string;
_tx: any;
_signatures: any;
_fee: any;
readonly set signatures(arg: xdr.DecoratedSignature[]);
readonly get signatures(): xdr.DecoratedSignature[];
set tx(arg: any);
get tx(): any;
readonly set fee(arg: string);
readonly get fee(): string;
readonly set networkPassphrase(arg: string);
readonly get networkPassphrase(): string;
sign(...keypairs: Keypair[]): void;
getKeypairSignature(keypair: Keypair): string;
addSignature(publicKey?: string, signature?: string): void;
addDecoratedSignature(signature: xdr.DecoratedSignature): void;
signHashX(preimage: Buffer | string): void;
hash(): Buffer;
signatureBase(): void;
toEnvelope(): void;
toXDR(): string;
}
import { Keypair } from "./keypair";