@ledgerhq/coin-stellar
Version:
Ledger Stellar Coin integration
13 lines • 674 B
TypeScript
import { AlpacaApi } from "@ledgerhq/coin-framework/api/index";
import { type StellarConfig } from "../config";
import { StellarAsset, StellarMemo } from "../types";
import { xdr } from "@stellar/stellar-sdk";
export declare function createApi(config: StellarConfig): AlpacaApi<StellarAsset, StellarMemo>;
/**
* Deserialize a transaction envelope, also accepting transaction signature payload form.
*
* @param input serialized `TransactionEnvelope` or `TransactionSignaturePayload`
* @param format serialization encoding
*/
export declare function envelopeFromAnyXDR(input: string, format: "hex" | "base64"): xdr.TransactionEnvelope;
//# sourceMappingURL=index.d.ts.map