Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a27a20faee |
12
src/types.ts
12
src/types.ts
@@ -149,6 +149,12 @@ export interface VerificationBlock {
|
|||||||
version: string;
|
version: string;
|
||||||
primeChainId: string;
|
primeChainId: string;
|
||||||
primeBlockId: string;
|
primeBlockId: string;
|
||||||
|
/**
|
||||||
|
* The prime block's proof this validator block attests to. Part of the signed
|
||||||
|
* message (blake2b-256 over version|primeChainId|primeBlockId|primeBlockProof|
|
||||||
|
* timestamp|verifierPublicKey), so it is required to verify verifierSignature.
|
||||||
|
*/
|
||||||
|
primeBlockProof: string;
|
||||||
timestamp: string;
|
timestamp: string;
|
||||||
verifierPublicKey: string;
|
verifierPublicKey: string;
|
||||||
verifierSignature: string;
|
verifierSignature: string;
|
||||||
@@ -163,9 +169,15 @@ export interface InterchainTransaction {
|
|||||||
id: number;
|
id: number;
|
||||||
version: string;
|
version: string;
|
||||||
timestamp: string;
|
timestamp: string;
|
||||||
|
/** Numeric external network id ("1"=ETH, "0"=BTC, ...). May be absent for chains without one. */
|
||||||
chainId: string;
|
chainId: string;
|
||||||
|
/** Explicit external chain name ("ETH", "BTC", "BASE", "BNB") — authoritative. */
|
||||||
|
chainName: string;
|
||||||
transHash: string;
|
transHash: string;
|
||||||
|
/** External chain block the anchor confirmed in; empty until confirmed (see status). */
|
||||||
blockId: string;
|
blockId: string;
|
||||||
|
/** Confirmation state: "pending" | "confirmed" | "dropped". */
|
||||||
|
status: string;
|
||||||
validatorBlocks: string[];
|
validatorBlocks: string[];
|
||||||
validatorBlockhash: string;
|
validatorBlockhash: string;
|
||||||
signature: string;
|
signature: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user