CAIPs
CAIPs copied to clipboard
Link to specific transaction
Hi there,
Taken from CAIP-2: "CAIP-2 defines a way to identify a blockchain (e.g. Ethereum Mainnet, Görli, Bitcoin, Cosmos Hub) in a human readably, developer friendly and transaction-friendly way."
I could not find any reference on how to link to a transaction on a specific blockchain. I can imagine in most cases a CAIP-2 blockchain definition is used, a reference to one or multiple transactions is relevant as well.
CAIP-2 was designed with this intention to design multi-chain applications with chain agnosticism in mind which would include multiple use-cases from Chains, Accounts, Assets, Transactions, etc
We haven't defined a standard for specifying transactions using CAIP-2 however I recall @antoineherzog mentioning some work he had done at Starname to define URI based transaction requests
That being said if you have a use-case in mind that could make use of a standard specification. We would love to discuss it more and create a proposal for it
Good to know, curious to hear your thoughts Antoine!
I'm working on a proposal to add timestamps to Schema.org, and we are collecting some standardization efforts for blockchain transactions. In this case, a hash of the timestamped object is recorded onto the blockchain. A validator should be able to lookup a blockchain transaction to verify the hash.
Would love to add examples for the CAIP-2 standard!
Hi @pedrouid, I know this discussion is (relatively) old, but there's a use case I'm seeing right now.
XMTP is currently specifying supporting transaction references as a content type. Apart from using CAIP-2, there's also the question of how to name the transaction hash itself.
What would be a chain agnostic syntax for a transaction reference? Probably worth a CAIP.
Definitely... I'm surprised this hasn't come up before honestly
It could've been worth two separate CAIPs
One for Transaction Request and one for Transaction Receipt