Here're some constants which may be used in the following APIs.


  • v3: the latest version of ZKSpace

  • v2: the previous version of ZKSwap

Networks (layer-1 chain ID)

  • 1: Ethereum mainnet

  • 4: Rinkeby testnet

Chain IDs (layer-2 chain ID)

  • 13: Ethereum mainnet for v3

  • 11: Ethereum mainnet for v2

  • 133: Rinkeby testnet for v3

Last updated