Type alias PoolRpcOnlyMethods

PoolRpcOnlyMethods: {
    exit: Te.TaskEither<TransactionError, ISubmittableResult, [params: Omit<PoolExitParams, "poolId"> & TransactionHooks]>;
    exitSubsidy: Te.TaskEither<TransactionError, ISubmittableResult, [params: Omit<PoolExitSubsidyParams, "poolId"> & TransactionHooks]>;
    exitWithExactAssetAmount: Te.TaskEither<TransactionError, ISubmittableResult, [params: Omit<PoolExitWithExactAssetAmountParams, "poolId"> & TransactionHooks]>;
    exitWithExactPoolAmount: Te.TaskEither<TransactionError, ISubmittableResult, [params: Omit<PoolExitWithExactPoolAmountParams, "poolId"> & TransactionHooks]>;
    getAccountId: Te.TaskEither<Error, string, []>;
    getTotalIssuance: Te.TaskEither<Error, Decimal, []>;
    join: Te.TaskEither<TransactionError, ISubmittableResult, [params: Omit<PoolJoinParams, "poolId"> & TransactionHooks]>;
    joinSubsidy: Te.TaskEither<TransactionError, ISubmittableResult, [params: Omit<PoolJoinParams, "poolId" | "maxAssetsIn"> & TransactionHooks]>;
    joinWithExactAssetAmount: Te.TaskEither<TransactionError, ISubmittableResult, [params: Omit<PoolJoinWithExactAmountParams, "poolId"> & TransactionHooks]>;
    joinWithExactPoolAmount: Te.TaskEither<TransactionError, ISubmittableResult, [params: Omit<PoolJoinWithExactPoolAmount, "poolId"> & TransactionHooks]>;
    swapExactAmountIn: Te.TaskEither<TransactionError, ISubmittableResult, [params: Omit<SwapExactAmountInParams, "poolId"> & TransactionHooks]>;
    swapExactAmountOut: Te.TaskEither<TransactionError, ISubmittableResult, [params: Omit<SwapExactAmountOutParams, "poolId"> & TransactionHooks]>;
}

Type declaration

  • exit: Te.TaskEither<TransactionError, ISubmittableResult, [params: Omit<PoolExitParams, "poolId"> & TransactionHooks]>
  • exitSubsidy: Te.TaskEither<TransactionError, ISubmittableResult, [params: Omit<PoolExitSubsidyParams, "poolId"> & TransactionHooks]>
  • exitWithExactAssetAmount: Te.TaskEither<TransactionError, ISubmittableResult, [params: Omit<PoolExitWithExactAssetAmountParams, "poolId"> & TransactionHooks]>
  • exitWithExactPoolAmount: Te.TaskEither<TransactionError, ISubmittableResult, [params: Omit<PoolExitWithExactPoolAmountParams, "poolId"> & TransactionHooks]>
  • getAccountId: Te.TaskEither<Error, string, []>

    Get the account id for the pool.

  • getTotalIssuance: Te.TaskEither<Error, Decimal, []>

    Get the total issuance of pool shares for the pool.

  • join: Te.TaskEither<TransactionError, ISubmittableResult, [params: Omit<PoolJoinParams, "poolId"> & TransactionHooks]>
  • joinSubsidy: Te.TaskEither<TransactionError, ISubmittableResult, [params: Omit<PoolJoinParams, "poolId" | "maxAssetsIn"> & TransactionHooks]>
  • joinWithExactAssetAmount: Te.TaskEither<TransactionError, ISubmittableResult, [params: Omit<PoolJoinWithExactAmountParams, "poolId"> & TransactionHooks]>
  • joinWithExactPoolAmount: Te.TaskEither<TransactionError, ISubmittableResult, [params: Omit<PoolJoinWithExactPoolAmount, "poolId"> & TransactionHooks]>
  • swapExactAmountIn: Te.TaskEither<TransactionError, ISubmittableResult, [params: Omit<SwapExactAmountInParams, "poolId"> & TransactionHooks]>
  • swapExactAmountOut: Te.TaskEither<TransactionError, ISubmittableResult, [params: Omit<SwapExactAmountOutParams, "poolId"> & TransactionHooks]>

Generated using TypeDoc