Skip to content

A block identifier is missing #123

@TimDaub

Description

@TimDaub

Over the last weeks, I've been busy figuring out

But now the more I think about it, the better it'd be if we had a unique identifier for blocks.

So far, in CAIP19 and the #119, I had proposed adding a #123 (aka #<block number) fragment to the identifier. But really, the block number isn't just a place in time like e.g. 2022-07-08. A block number plus a network name also refers to a piece of data on a blockchain. And a block number by itself, e.g. "123" isn't all that useful without the respective network.

In #119, I did a survey for how block numbers on different networks look like and it suggests that it's a natural & incrementing number. Similar to CAIP-19 on asset types/ids, should we have a block number?

# Ether Token
eip155:1#block:123

# Bitcoin Token
bip122:000000000019d6689c085ae165831e93#block:123

# ATOM Token
cosmos:cosmoshub-3#block:123

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions