Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Configuration

Main sdk configuration.

Hierarchy

  • Configuration

Index

Properties

httpClient?: HttpClient

You can pass your own http client (e.g. HttpClient in Angular) if you have it, to not duplicate http clients and decrease bundle size.

providerAddress?: string

Integrator wallet address.

rpcProviders: Partial<Record<BlockchainName, RpcProvider>>

Rpc data to connect to blockchains you will use. You have to pass rpcProvider for each blockchain you will use with sdk.

walletProvider?: WalletProvider

Required to use swap, approve and other methods which sends transactions. But you can calculate and encode trades without walletProvider. Pass it when user connects wallet. Please note that address and chainId must match account address and selected chain id in a user's wallet.

Generated using TypeDoc