/// import { CallBuilder } from "./call_builder"; import { ServerApi } from "./server_api"; /** * Creates a new {@link EffectCallBuilder} pointed to server defined by serverUrl. * Do not create this object directly, use {@link Server#effects}. * * @class EffectCallBuilder * @extends CallBuilder * @see [All Effects](https://developers.diamante.org/api/resources/effects/) * @constructor * @param {string} serverUrl Horizon server URL. */ export declare class EffectCallBuilder extends CallBuilder> { constructor(serverUrl: URI); /** * This endpoint represents all effects that changed a given account. It will return relevant effects from the creation of the account to the current ledger. * @see [Effects for Account](https://developers.diamante.org/api/resources/accounts/effects/) * @param {string} accountId For example: `GDGQVOKHW4VEJRU2TETD6DBRKEO5ERCNF353LW5WBFW3JJWQ2BRQ6KDD` * @returns {EffectCallBuilder} this EffectCallBuilder instance */ forAccount(accountId: string): this; /** * Effects are the specific ways that the ledger was changed by any operation. * * This endpoint represents all effects that occurred in the given ledger. * @see [Effects for Ledger](https://developers.diamante.org/api/resources/ledgers/effects/) * @param {number|string} sequence Ledger sequence * @returns {EffectCallBuilder} this EffectCallBuilder instance */ forLedger(sequence: number | string): this; /** * This endpoint represents all effects that occurred as a result of a given transaction. * @see [Effects for Transaction](https://developers.diamante.org/api/resources/transactions/effects/) * @param {string} transactionId Transaction ID * @returns {EffectCallBuilder} this EffectCallBuilder instance */ forTransaction(transactionId: string): this; /** * This endpoint represents all effects that occurred as a result of a given operation. * @see [Effects for Operation](https://developers.diamante.org/api/resources/operations/effects/) * @param {number} operationId Operation ID * @returns {EffectCallBuilder} this EffectCallBuilder instance */ forOperation(operationId: string): this; /** * This endpoint represents all effects involving a particular liquidity pool. * * @param {string} poolId liquidity pool ID * @returns {EffectCallBuilder} this EffectCallBuilder instance */ forLiquidityPool(poolId: string): this; }