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

21 lines (20 loc) 733 B
export class Asset { static native(): Asset; static fromOperation(assetXdr: xdr.Asset): Asset; static compare(assetA: Asset, assetB: Asset): number; constructor(code: any, issuer: any); code: any; issuer: any; toXDRObject(): xdr.Asset; toChangeTrustXDRObject(): xdr.ChangeTrustAsset; toTrustLineXDRObject(): xdr.TrustLineAsset; contractId(networkPassphrase: string): string; _toXDRObject(xdrAsset?: xdr.Asset | xdr.ChangeTrustAsset): xdr.Asset | xdr.ChangeTrustAsset | xdr.TrustLineAsset; getCode(): string; getIssuer(): string; getAssetType(): string; getRawAssetType(): xdr.AssetType; isNative(): boolean; equals(asset: Asset): boolean; toString(): string; }