@ledgerhq/coin-stellar
Version:
Ledger Stellar Coin integration
13 lines • 652 B
TypeScript
import type { Block } from '@ledgerhq/coin-module-framework/api/index';
/**
* Returns the Stellar closed ledger at `height` (ledger sequence) with mapped
* `BlockTransaction` entries (see `SUPPORTED_GETBLOCK_OP_TYPES` for which Horizon
* operations are included).
*
* Only supported payment / path / trust / create-account operations contribute
* balance operations; other Horizon operation types are skipped for successful
* transactions. Failed transactions still appear with `failed: true`, fees
* populated, and empty `operations`.
*/
export declare function getBlock(height: number): Promise<Block>;
//# sourceMappingURL=getBlock.d.ts.map