Skip to main content
Returns the chain ID used for signing replay-protected transactions. This method will use 20 Compute Units.

Reference: Here

Parameters

None

Returns

chainId, hexadecimal value as a string representing the integer of the current chain id.