Optional Readonly httpYou can pass your own http client (e.g. HttpClient in Angular) if you have it, to not duplicate http clients and decrease bundle size.
Optional Readonly providerIntegrator wallet address.
Readonly rpcRpc data to connect to blockchains you will use. You have to pass rpcProvider for each blockchain you will use with sdk.
Optional Readonly walletRequired 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
Main sdk configuration.