Type Reference
Enum for networks compatible with RAILGUN.
Used to index NETWORK_CONFIG, which stores chain properties.
Ex.
NetworkName.Ethereum
For this object, we serialize BigNumber values into hex strings, which are more compatible with various frontend architectures.
Type0 (eg. BNB Chain)
{
evmGasType: EVMGasType.Type0;
gasEstimateString: string;
gasPriceString: string;
}
Type2 (eg. Ethereum, Polygon)
{
evmGasType: EVMGasType.Type2;
gasEstimateString: string;
maxFeePerGasString: string;
maxPriorityFeePerGasString: string;
}
Last modified 25d ago