UNPKG

@okxweb3/coin-stellar

Version:

@okxweb3/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

56 lines (55 loc) 3.02 kB
export const AuthRequiredFlag: number; export const AuthRevocableFlag: number; export const AuthImmutableFlag: number; export const AuthClawbackEnabledFlag: number; export class Operation { static setSourceAccount(opAttributes: any, opts: any): void; static fromXDRObject(operation: xdr.Operation): Operation; static isValidAmount(value: string, allowZero?: boolean): boolean; static constructAmountRequirementsError(arg: any): string; private static _checkUnsignedIntValue; private static _toXDRAmount; private static _fromXDRAmount; private static _fromXDRPrice; private static _toXDRPrice; } export namespace Operation { const accountMerge: typeof ops.accountMerge; const allowTrust: typeof ops.allowTrust; const bumpSequence: typeof ops.bumpSequence; const changeTrust: typeof ops.changeTrust; const createAccount: typeof ops.createAccount; const createClaimableBalance: typeof ops.createClaimableBalance; const claimClaimableBalance: typeof ops.claimClaimableBalance; const clawbackClaimableBalance: typeof ops.clawbackClaimableBalance; const createPassiveSellOffer: typeof ops.createPassiveSellOffer; const inflation: typeof ops.inflation; const manageData: typeof ops.manageData; const manageSellOffer: typeof ops.manageSellOffer; const manageBuyOffer: typeof ops.manageBuyOffer; const pathPaymentStrictReceive: typeof ops.pathPaymentStrictReceive; const pathPaymentStrictSend: typeof ops.pathPaymentStrictSend; const payment: typeof ops.payment; const setOptions: typeof ops.setOptions; const beginSponsoringFutureReserves: typeof ops.beginSponsoringFutureReserves; const endSponsoringFutureReserves: typeof ops.endSponsoringFutureReserves; const revokeAccountSponsorship: typeof ops.revokeAccountSponsorship; const revokeTrustlineSponsorship: typeof ops.revokeTrustlineSponsorship; const revokeOfferSponsorship: typeof ops.revokeOfferSponsorship; const revokeDataSponsorship: typeof ops.revokeDataSponsorship; const revokeClaimableBalanceSponsorship: typeof ops.revokeClaimableBalanceSponsorship; const revokeLiquidityPoolSponsorship: typeof ops.revokeLiquidityPoolSponsorship; const revokeSignerSponsorship: typeof ops.revokeSignerSponsorship; const clawback: typeof ops.clawback; const setTrustLineFlags: typeof ops.setTrustLineFlags; const liquidityPoolDeposit: typeof ops.liquidityPoolDeposit; const liquidityPoolWithdraw: typeof ops.liquidityPoolWithdraw; const invokeHostFunction: typeof ops.invokeHostFunction; const extendFootprintTtl: typeof ops.extendFootprintTtl; const restoreFootprint: typeof ops.restoreFootprint; const createStellarAssetContract: typeof ops.createStellarAssetContract; const invokeContractFunction: typeof ops.invokeContractFunction; const createCustomContract: typeof ops.createCustomContract; const uploadContractWasm: typeof ops.uploadContractWasm; } import * as ops from "./operations";