Interface AllbridgeCoreSdkOptions

interface AllbridgeCoreSdkOptions {
    cachePoolInfoChainSec: number;
    cctpParams: CctpParams;
    coreApiHeaders?: Record<string, string>;
    coreApiQueryParams?: Record<string, string>;
    coreApiUrl: string;
    jupiterMaxAccounts?: number;
    jupiterUrl: string;
    solanaLookUpTable: string;
    sorobanNetworkPassphrase: string;
    tronJsonRpc?: string;
    wormholeMessengerProgramId: string;
}

Properties

cachePoolInfoChainSec: number

The number of seconds that pool information taken from the chain will be cached.

cctpParams: CctpParams
coreApiHeaders?: Record<string, string>

A set of headers to be added to all requests to the Core API.

coreApiQueryParams?: Record<string, string>

A set of query parameters to be added to all requests to the Core API.

coreApiUrl: string
jupiterMaxAccounts?: number

Jupiter v6 'maxAccounts' parameter
Rough estimate of the max accounts to be used for the quote, so that you can compose with your own accounts
https://station.jup.ag/docs/apis/swap-api#using-maxaccounts

jupiterUrl: string

Jupiter v6 Swap Api

solanaLookUpTable: string
sorobanNetworkPassphrase: string
tronJsonRpc?: string

Optional. Will be used in methods
LiquidityPoolService.getPoolInfoFromChain and LiquidityPoolService.getAmountToBeWithdrawn
to fetch information from the blockchain with fewer HTTP requests using JSON-RPC API

wormholeMessengerProgramId: string