chain id
- CURIE:
gmeow:chainId - IRI: https://blackcatinformatics.ca/gmeow/chainId
- Category: property
- Defined by:
gmeow:slices/attestation - Box roles: CBox role, RBox role (What is this?)
The chain identifier of a blockchain network (e.g. CAIP-2 chainId, eip155:1).
Structure
Property shape: datatype property; gmeow:BlockchainNetwork -> rdfs:Literal; functional
Practical Pattern
Use gmeow:chainId from gmeow:BlockchainNetwork to rdfs:Literal when the relationship itself belongs in the native GMEOW graph.
Common Companion Terms
Usage Advice
Use when
- Use to carry the CAIP-2 chain identifier of a
gmeow:BlockchainNetwork— the string that distinguishes one chain from another when resolving on-chain identifiers.
Avoid when
- Avoid for a contract or account address on the chain (
gmeow:contractAddress,gmeow:signatureRecoveryAddress) and for a transaction hash (gmeow:transactionHash); the chain id names the network, not a record on it. Functional — one id per network.
How to use
- Set one CAIP-2 chain-id literal on the
gmeow:BlockchainNetwork; other ledger records reference the network so their hashes and addresses are interpreted against the right chain.
Examples
- ex:ethMainnet
gmeow:chainId"eip155:1".