Factory Methods
Factory methods of Azoth SDK for creating instances and getting network information
AzothSDK.create()
AzothSDK.create()static create(
provider: ethers.Provider | ethers.Signer,
network: NetworkName = 'polygon',
tokenSymbol: TokenSymbol = 'USDT',
contractVersion?: string
): AzothSDKconst provider = new ethers.JsonRpcProvider('https://polygon-rpc.com');
const azoth = AzothSDK.create(provider, 'polygon', 'USDT');AzothSDK.getAvailableNetworks()
AzothSDK.getAvailableNetworks()AzothSDK.getAvailableTokens()
AzothSDK.getAvailableTokens()Last updated