@parifi/sdk
Version:
Parifi SDK with common utility functions
37 lines (34 loc) • 802 B
text/typescript
import { Chain } from '@parifi/references';
interface RpcConfig {
chainId: Chain;
rpcEndpointUrl?: string;
username?: string;
password?: string;
apiKey?: string;
}
interface SubgraphConfig {
subgraphEndpoint?: string;
username?: string;
password?: string;
apiKey?: string;
}
interface RelayerConfig {
gelatoConfig?: RelayerI;
parifiRealyerConfig?: RelayerI;
pimlicoConfig?: RelayerI;
}
interface RelayerI {
relayerEndpoint?: string;
username?: string;
password?: string;
apiKey?: string;
jwtToken?: string;
}
interface PythConfig {
pythEndpoint?: string;
username?: string;
password?: string;
apiKey?: string;
isStable?: boolean;
}
export type { PythConfig, RelayerConfig, RelayerI, RpcConfig, SubgraphConfig };