@ledgerhq/coin-tezos
Version:
14 lines • 832 B
TypeScript
import type { TezosContext } from '../config';
import type { Block } from '@ledgerhq/coin-module-framework/api/index';
/**
* Returns the full block at the given Tezos level: metadata + all transactions
* with their XTZ and FA token balance changes.
*
* - Fetches block metadata, native transactions, delegations, FA token transfers, and staking operations in parallel.
* - Also fetches the predecessor block in parallel to populate `BlockInfo.parent`.
* - Groups operations by hash, aggregates fees, and determines the fee payer.
* - Appends FA token transfer operations to the owning BlockTransaction when a
* matching `transactionId` can be resolved; otherwise creates a standalone entry.
*/
export declare function getBlock(context: TezosContext, height: number): Promise<Block>;
//# sourceMappingURL=getBlock.d.ts.map