UNPKG

@ledgerhq/coin-stellar

Version:
26 lines 1.66 kB
import { Account as StellarSdkAccount, TransactionBuilder } from '@stellar/stellar-sdk'; export declare function buildTransactionBuilder(source: StellarSdkAccount, fee: bigint): TransactionBuilder; export declare function buildChangeTrustOperation(assetCode: string, assetIssuer: string): { sourceAccount(value?: null | import("@stellar/stellar-sdk").xdr.MuxedAccount): null | import("@stellar/stellar-sdk").xdr.MuxedAccount; body(value?: import("@stellar/stellar-sdk").xdr.OperationBody): import("@stellar/stellar-sdk").xdr.OperationBody; toXDR(format?: "raw"): Buffer; toXDR(format: "hex" | "base64"): string; }; export declare function buildCreateAccountOperation(destination: string, amount: bigint): { sourceAccount(value?: null | import("@stellar/stellar-sdk").xdr.MuxedAccount): null | import("@stellar/stellar-sdk").xdr.MuxedAccount; body(value?: import("@stellar/stellar-sdk").xdr.OperationBody): import("@stellar/stellar-sdk").xdr.OperationBody; toXDR(format?: "raw"): Buffer; toXDR(format: "hex" | "base64"): string; }; export declare function buildPaymentOperation({ destination, amount, assetCode, assetIssuer, }: { destination: string; amount: bigint; assetCode: string | undefined; assetIssuer: string | undefined; }): { sourceAccount(value?: null | import("@stellar/stellar-sdk").xdr.MuxedAccount): null | import("@stellar/stellar-sdk").xdr.MuxedAccount; body(value?: import("@stellar/stellar-sdk").xdr.OperationBody): import("@stellar/stellar-sdk").xdr.OperationBody; toXDR(format?: "raw"): Buffer; toXDR(format: "hex" | "base64"): string; }; //# sourceMappingURL=sdkWrapper.d.ts.map