@ledgerhq/coin-stellar
Version:
Ledger Stellar Coin integration
13 lines • 634 B
TypeScript
import { Api } from "@ledgerhq/coin-framework/api/index";
import { xdr } from "@stellar/stellar-sdk";
import { type StellarConfig } from "../config";
import { StellarMemo } from "../types";
export declare function createApi(config: StellarConfig): Api<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