Keeta LogoKeeta Logo@keetanetwork/keetanet-client
    Preparing search index...

    Interface CreateSwapRequest

    interface CreateSwapRequest {
        from: { account: GenericAccount; amount: bigint; token: TokenAddress };
        to: {
            account: GenericAccount;
            amount: bigint;
            exact?: boolean;
            token: TokenAddress;
        };
    }
    Index

    Properties

    Properties

    from: { account: GenericAccount; amount: bigint; token: TokenAddress }
    to: {
        account: GenericAccount;
        amount: bigint;
        exact?: boolean;
        token: TokenAddress;
    }

    Type declaration

    • account: GenericAccount
    • amount: bigint
    • Optionalexact?: boolean

      Indication of whether or not the received amount must be exact, defaults to false

    • token: TokenAddress