Skip to main content

Network

Represents a network.

  • Full name: \Bloock\Entity\Integrity\Network

Constants

ConstantVisibilityTypeValue
ETHEREUM_MAINNETpublic"ETHEREUM_MAINNET"
ETHEREUM_GOERLIpublic"ETHEREUM_GOERLI"
GNOSIS_CHAINpublic"GNOSIS_CHAIN"
BLOOCK_CHAINpublic"BLOOCK_CHAIN"
POLYGON_CHAINpublic"POLYGON_CHAIN"

Methods

fromProto

public static fromProto(\Bloock\Network $network): string
  • This method is static.

Parameters:

ParameterTypeDescription
$network\Bloock\Network

toProto

public static toProto(string $network): int
  • This method is static.

Parameters:

ParameterTypeDescription
$networkstring


Automatically generated on 2024-04-02