Skip to content

@ton-api/ton-adapter Not a cell: int #224

Description

@shnmrc
const ta = new TonApiClient()

const pool = ta.open(Pool.createFromAddress(TON_USDT));

const estimatedSwapOut = await pool.getEstimatedSwapOut({
  assetIn: Asset.native(),
  amountIn: toNano(1),
});
Error: Not a cell: int
at TupleReader.readCell

Problem only with TonApiClient, with TonClient4 all fine

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions