@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
15 lines (14 loc) • 451 B
TypeScript
export class Address {
static fromString(address: string): Address;
static account(buffer: Buffer): Address;
static contract(buffer: Buffer): Address;
static fromScVal(scVal: xdr.ScVal): Address;
static fromScAddress(scAddress: xdr.ScAddress): Address;
constructor(address: any);
_type: string;
_key: Buffer;
toString(): string;
toScVal(): xdr.ScVal;
toScAddress(): xdr.ScAddress;
toBuffer(): Buffer;
}