UNPKG

@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

25 lines (24 loc) 785 B
export const MemoNone: "none"; export const MemoID: "id"; export const MemoText: "text"; export const MemoHash: "hash"; export const MemoReturn: "return"; export class Memo { static _validateIdValue(value: any): void; static _validateTextValue(value: any): void; static _validateHashValue(value: any): void; static none(): Memo; static text(text: string): Memo; static id(id: string): Memo; static hash(hash: array | string): Memo; static return(hash: array | string): Memo; static fromXDRObject(object: xdr.Memo): Memo; constructor(type: any, value?: null); _type: any; _value: Buffer | null; set type(arg: any); get type(): any; set value(arg: Buffer | null); get value(): Buffer | null; toXDRObject(): xdr.Memo; }