Constructors

  • Parameters

    • provider: EthereumProvider
    • config: SDKConfig = ...

    Returns CA

Properties

caEventEmitter: SafeEventEmitter = ...
on: ((eventName: string | symbol, listener: ((...args: any[]) => void)) => this)
removeListener: ((eventName: string | symbol, listener: ((...args: any[]) => void)) => this)

Methods

  • Parameters

    • listener: ((...args: any[]) => void)
        • (...args): void
        • Parameters

          • Rest...args: any[]

          Returns void

    Returns void

  • Returns AllowanceQueryBuilder

  • Returns BridgeQueryBuilder

  • Parameters

    • symbol: string

    Returns Promise<undefined | UserAsset>

  • Returns Promise<{
        abstracted: undefined | boolean;
        balance: string;
        balanceInFiat: number;
        breakdown: {
            balance: string;
            balanceInFiat: number;
            chain: {
                id: number;
                logo: string;
                name: string;
            };
            contractAddress: `0x${string}`;
            isNative: undefined | boolean;
            network: "evm";
        }[];
        decimals: number;
        icon: undefined | string;
        local: undefined | boolean;
        symbol: string;
    }[]>

  • Returns Promise<void>

  • Parameters

    • listener: ((...args: any[]) => void)
        • (...args): void
        • Parameters

          • Rest...args: any[]

          Returns void

    Returns void

  • Parameters

    • args: RequestArguments

    Returns Promise<unknown>

  • Parameters

    • hook: OnAllowanceHook

    Returns void

  • Parameters

    • hook: OnIntentHook

    Returns void

  • Returns SendQueryBuilder