import _m0 from 'protobufjs/minimal'; export declare const protobufPackage = "chronik"; /** Status of a token tx */ export declare enum TokenStatus { /** * TOKEN_STATUS_NON_TOKEN - Tx involves no tokens whatsover, i.e. neither any burns nor any failed * parsing/coloring or any tokens being created / moved. */ TOKEN_STATUS_NON_TOKEN = 0, /** TOKEN_STATUS_NORMAL - Tx involves tokens but no unintentional burns or failed parsings/colorings */ TOKEN_STATUS_NORMAL = 1, /** TOKEN_STATUS_NOT_NORMAL - Tx involves tokens but contains unintentional burns or failed parsings/colorings */ TOKEN_STATUS_NOT_NORMAL = 2, UNRECOGNIZED = -1 } export declare function tokenStatusFromJSON(object: any): TokenStatus; export declare function tokenStatusToJSON(object: TokenStatus): string; /** ALP token type */ export declare enum AlpTokenType { /** ALP_TOKEN_TYPE_STANDARD - Standard ALP token type */ ALP_TOKEN_TYPE_STANDARD = 0, UNRECOGNIZED = -1 } export declare function alpTokenTypeFromJSON(object: any): AlpTokenType; export declare function alpTokenTypeToJSON(object: AlpTokenType): string; /** SLP token type */ export declare enum SlpTokenType { /** SLP_TOKEN_TYPE_NONE - Unknown "0" token type */ SLP_TOKEN_TYPE_NONE = 0, /** SLP_TOKEN_TYPE_FUNGIBLE - SLP V1 token type */ SLP_TOKEN_TYPE_FUNGIBLE = 1, /** SLP_TOKEN_TYPE_MINT_VAULT - SLP V2 mint vault token type */ SLP_TOKEN_TYPE_MINT_VAULT = 2, /** SLP_TOKEN_TYPE_NFT1_GROUP - NFT1 group token type */ SLP_TOKEN_TYPE_NFT1_GROUP = 129, /** SLP_TOKEN_TYPE_NFT1_CHILD - NFT1 child token type */ SLP_TOKEN_TYPE_NFT1_CHILD = 65, UNRECOGNIZED = -1 } export declare function slpTokenTypeFromJSON(object: any): SlpTokenType; export declare function slpTokenTypeToJSON(object: SlpTokenType): string; /** SLP/ALP tx type */ export declare enum TokenTxType { /** NONE - No tx type, e.g. when input tokens are burned */ NONE = 0, /** UNKNOWN - Unknown tx type, i.e. for unknown token types */ UNKNOWN = 1, /** GENESIS - GENESIS tx */ GENESIS = 2, /** SEND - SEND tx */ SEND = 3, /** MINT - MINT tx */ MINT = 4, /** BURN - BURN tx */ BURN = 5, UNRECOGNIZED = -1 } export declare function tokenTxTypeFromJSON(object: any): TokenTxType; export declare function tokenTxTypeToJSON(object: TokenTxType): string; /** Type of message for the block */ export declare enum BlockMsgType { /** BLK_CONNECTED - Block connected to the blockchain */ BLK_CONNECTED = 0, /** BLK_DISCONNECTED - Block disconnected from the blockchain */ BLK_DISCONNECTED = 1, /** BLK_FINALIZED - Block has been finalized by Avalanche */ BLK_FINALIZED = 2, /** BLK_INVALIDATED - Block has been invalidated by Avalanche */ BLK_INVALIDATED = 3, UNRECOGNIZED = -1 } export declare function blockMsgTypeFromJSON(object: any): BlockMsgType; export declare function blockMsgTypeToJSON(object: BlockMsgType): string; /** Type of tx finalization */ export declare enum TxFinalizationReasonType { /** TX_FINALIZATION_REASON_POST_CONSENSUS - The transaction is finalized by post-consensus */ TX_FINALIZATION_REASON_POST_CONSENSUS = 0, /** TX_FINALIZATION_REASON_PRE_CONSENSUS - The transaction is finalized by pre-consensus */ TX_FINALIZATION_REASON_PRE_CONSENSUS = 1, UNRECOGNIZED = -1 } export declare function txFinalizationReasonTypeFromJSON(object: any): TxFinalizationReasonType; export declare function txFinalizationReasonTypeToJSON(object: TxFinalizationReasonType): string; /** Type of message for a tx */ export declare enum TxMsgType { /** TX_ADDED_TO_MEMPOOL - Tx added to the mempool */ TX_ADDED_TO_MEMPOOL = 0, /** TX_REMOVED_FROM_MEMPOOL - Tx removed from the mempool */ TX_REMOVED_FROM_MEMPOOL = 1, /** TX_CONFIRMED - Tx confirmed in a block */ TX_CONFIRMED = 2, /** TX_FINALIZED - Tx finalized by Avalanche */ TX_FINALIZED = 3, /** TX_INVALIDATED - Tx invalidated by Avalanche */ TX_INVALIDATED = 4, UNRECOGNIZED = -1 } export declare function txMsgTypeFromJSON(object: any): TxMsgType; export declare function txMsgTypeToJSON(object: TxMsgType): string; /** Block on the blockchain */ export interface Block { /** Info about the block */ blockInfo: BlockInfo | undefined; } /** Range of blocks */ export interface Blocks { /** Queried blocks */ blocks: BlockInfo[]; } /** Header on the blockchain */ export interface BlockHeader { /** Raw data */ rawHeader: Uint8Array; /** Merkle root */ root: Uint8Array; /** Merkle branch of header up to root, deepest pairing first */ branch: Uint8Array[]; } /** Range of headers */ export interface BlockHeaders { /** Queried headers */ headers: BlockHeader[]; } /** Info about the state of the blockchain. */ export interface BlockchainInfo { /** Hash (little-endian) of the current tip */ tipHash: Uint8Array; /** Height of the current tip (genesis has height = 0) */ tipHeight: number; } /** Info about the chronik software this server is running */ export interface ChronikInfo { /** chronik server version from chronik-http/Cargo.toml */ version: string; } /** Info about a block */ export interface BlockInfo { /** Hash (little-endian) */ hash: Uint8Array; /** Hash of the previous block (little-endian) */ prevHash: Uint8Array; /** Height in the chain */ height: number; /** nBits field encoding the target */ nBits: number; /** Timestamp field of the block */ timestamp: bigint; /** Whether the block has been finalized by Avalanche */ isFinal: boolean; /** Block size of this block in bytes (including headers etc.) */ blockSize: bigint; /** Number of txs in this block */ numTxs: bigint; /** Total number of tx inputs in block (including coinbase) */ numInputs: bigint; /** Total number of tx output in block (including coinbase) */ numOutputs: bigint; /** Total number of satoshis spent by tx inputs */ sumInputSats: bigint; /** Block reward for this block */ sumCoinbaseOutputSats: bigint; /** Total number of satoshis in non-coinbase tx outputs */ sumNormalOutputSats: bigint; /** Total number of satoshis burned using OP_RETURN */ sumBurnedSats: bigint; } /** Details about a transaction */ export interface Tx { /** TxId (little-endian) of the tx */ txid: Uint8Array; /** nVersion */ version: number; /** Inputs of the tx (aka. `vin`) */ inputs: TxInput[]; /** Outputs of the tx (aka. `vout`) */ outputs: TxOutput[]; /** nLockTime */ lockTime: number; /** Which block this tx is in, or None, if in the mempool */ block: BlockMetadata | undefined; /** Time this tx has first been added to the mempool, or 0 if unknown */ timeFirstSeen: bigint; /** Serialized size of the tx */ size: number; /** Whether this tx is a coinbase tx */ isCoinbase: boolean; /** Tokens involved in this txs */ tokenEntries: TokenEntry[]; /** Failed parsing attempts of this tx */ tokenFailedParsings: TokenFailedParsing[]; /** * Token status, i.e. whether this tx has any tokens or unintentional token burns * or something unexpected, like failed parsings etc. */ tokenStatus: TokenStatus; /** Whether the transaction has been finalized by avalanche */ isFinal: boolean; } /** UTXO of a script. */ export interface ScriptUtxo { /** txid and out_idx of the unspent output. */ outpoint: OutPoint | undefined; /** Block height of the UTXO, or -1 if in mempool. */ blockHeight: number; /** Whether the UTXO has been created in a coinbase tx. */ isCoinbase: boolean; /** Value of the output, in satoshis. */ sats: bigint; /** Whether the UTXO has been finalized by Avalanche. */ isFinal: boolean; /** Token value attached to this UTXO */ token: Token | undefined; /** Data attached to this output by plugins */ plugins: { [key: string]: PluginEntry; }; } export interface ScriptUtxo_PluginsEntry { key: string; value: PluginEntry | undefined; } /** UTXO, but with a script attached. */ export interface Utxo { /** txid and out_idx of the unspent output. */ outpoint: OutPoint | undefined; /** Block height of the UTXO, or -1 if in mempool. */ blockHeight: number; /** Whether the UTXO has been created in a coinbase tx. */ isCoinbase: boolean; /** Value of the output, in satoshis. */ sats: bigint; /** Bytecode of the script of the output */ script: Uint8Array; /** Whether the UTXO has been finalized by Avalanche. */ isFinal: boolean; /** Token value attached to this UTXO */ token: Token | undefined; /** Data attached to this output by plugins */ plugins: { [key: string]: PluginEntry; }; } export interface Utxo_PluginsEntry { key: string; value: PluginEntry | undefined; } /** COutPoint, points to a coin being spent by an input. */ export interface OutPoint { /** TxId of the tx of the output being spent. */ txid: Uint8Array; /** Index of the output spent within the transaction. */ outIdx: number; } /** Points to an input spending a coin. */ export interface SpentBy { /** TxId of the tx with the input. */ txid: Uint8Array; /** Index in the inputs of the tx. */ inputIdx: number; } /** CTxIn, spends a coin. */ export interface TxInput { /** Reference to the coin being spent. */ prevOut: OutPoint | undefined; /** scriptSig, script unlocking the coin. */ inputScript: Uint8Array; /** scriptPubKey, script of the output locking the coin. */ outputScript: Uint8Array; /** value of the output being spent, in satoshis. */ sats: bigint; /** nSequence of the input. */ sequenceNo: number; /** Token value attached to this input */ token: Token | undefined; /** Data attached to this output by plugins */ plugins: { [key: string]: PluginEntry; }; } export interface TxInput_PluginsEntry { key: string; value: PluginEntry | undefined; } /** CTxOut, creates a new coin. */ export interface TxOutput { /** Value of the coin, in satoshis. */ sats: bigint; /** scriptPubKey, script locking the output. */ outputScript: Uint8Array; /** Which tx and input spent this output, if any. */ spentBy: SpentBy | undefined; /** Token value attached to this output */ token: Token | undefined; /** Data attached to this output by plugins */ plugins: { [key: string]: PluginEntry; }; } export interface TxOutput_PluginsEntry { key: string; value: PluginEntry | undefined; } /** Data about a block which a Tx is in. */ export interface BlockMetadata { /** Height of the block the tx is in. */ height: number; /** Hash of the block the tx is in. */ hash: Uint8Array; /** nTime of the block the tx is in. */ timestamp: bigint; /** Whether the block has been finalized by Avalanche. */ isFinal: boolean; } /** SLP/ALP token type */ export interface TokenType { /** SLP token type. Can have unknown values for unknown token types */ slp?: SlpTokenType | undefined; /** ALP token type. Can have unknown values for unknown token types */ alp?: AlpTokenType | undefined; } /** Info about a token */ export interface TokenInfo { /** * Hex token_id (in big-endian, like usually displayed to users) of the token. * This is not `bytes` because SLP and ALP use different endiannnes, so to avoid this we use hex, which conventionally implies big-endian in a bitcoin context. */ tokenId: string; /** Token type of the token */ tokenType: TokenType | undefined; /** Info found in the token's GENESIS tx */ genesisInfo: GenesisInfo | undefined; /** Block of the GENESIS tx, if it's mined already */ block: BlockMetadata | undefined; /** Time the GENESIS tx has first been seen by the indexer */ timeFirstSeen: bigint; } /** Token involved in a transaction */ export interface TokenEntry { /** * Hex token_id (in big-endian, like usually displayed to users) of the token. * This is not `bytes` because SLP and ALP use different endiannes, so to avoid * this we use hex, which conventionally implies big-endian in a bitcoin context. */ tokenId: string; /** Token type of the token */ tokenType: TokenType | undefined; /** Tx type of the token; NONE if there's no section that introduced it (e.g. in an accidental burn) */ txType: TokenTxType; /** For NFT1 Child tokens: group ID */ groupTokenId: string; /** Whether the validation rules have been violated for this section */ isInvalid: boolean; /** Human-readable error message of why this entry burned tokens */ burnSummary: string; /** Human-readable error messages of why colorings failed */ failedColorings: TokenFailedColoring[]; /** * Number of actually burned tokens (as decimal integer * string, e.g. "2000"; in atoms aka base tokens). * This is because burns can exceed the 64-bit range of * values and protobuf doesn't have a nice type to encode this. */ actualBurnAtoms: string; /** Burn amount (in atoms aka base tokens) the user explicitly opted into */ intentionalBurnAtoms: bigint; /** Whether any mint batons have been burned of this token */ burnsMintBatons: boolean; } /** Genesis info found in GENESIS txs of tokens */ export interface GenesisInfo { /** token_ticker of the token */ tokenTicker: Uint8Array; /** token_name of the token */ tokenName: Uint8Array; /** URL of the token */ url: Uint8Array; /** token_document_hash of the token (only on SLP) */ hash: Uint8Array; /** mint_vault_scripthash (only on SLP V2 Mint Vault) */ mintVaultScripthash: Uint8Array; /** Arbitray payload data of the token (only on ALP) */ data: Uint8Array; /** auth_pubkey of the token (only on ALP) */ authPubkey: Uint8Array; /** decimals of the token, i.e. how many decimal places the token should be displayed with. */ decimals: number; } /** Token coloring an input or output */ export interface Token { /** Hex token_id of the token, see `TokenInfo` for details */ tokenId: string; /** Token type of the token */ tokenType: TokenType | undefined; /** Index into `token_entries` for `Tx`. -1 for UTXOs */ entryIdx: number; /** Base token amount of the input/output */ atoms: bigint; /** Whether the token is a mint baton */ isMintBaton: boolean; } /** * A report of a failed parsing attempt of SLP/ALP. * This should always indicate something went wrong when building the tx. */ export interface TokenFailedParsing { /** * For ALP, the index of the pushdata in the OP_RETURN that failed parsing. * -1 if the whole OP_RETURN failed, e.g. for SLP or eMPP */ pushdataIdx: number; /** The bytes that failed parsing, useful for debugging */ bytes: Uint8Array; /** Human-readable message of what went wrong */ error: string; } /** * A report of a failed coloring attempt of SLP/ALP. * This should always indicate something went wrong when building the tx. */ export interface TokenFailedColoring { /** For ALP, the index of the pushdata in the OP_RETURN that failed parsing. */ pushdataIdx: number; /** Human-readable message of what went wrong */ error: string; } /** Data attached by a plugin to an output */ export interface PluginEntry { /** Groups assigned to this output */ groups: Uint8Array[]; /** Data assigned to the output */ data: Uint8Array[]; } /** Data about a plugin group */ export interface PluginGroup { /** Group bytes */ group: Uint8Array; } /** List of plugin groups */ export interface PluginGroups { /** Groups */ groups: PluginGroup[]; /** * Group that if specified as `start` will give us the next groups, * or empty if groups have been exausted. */ nextStart: Uint8Array; } /** Page with txs */ export interface TxHistoryPage { /** Txs of the page */ txs: Tx[]; /** How many pages there are total */ numPages: number; /** How many txs there are total */ numTxs: number; } /** List of UTXOs of a script */ export interface ScriptUtxos { /** The serialized script of the UTXOs */ script: Uint8Array; /** UTXOs of the script. */ utxos: ScriptUtxo[]; } /** Script identity by type and payload. Same field layout as `WsSubScript`. */ export interface ScriptRef { /** Script type to subscribe to ("p2pkh", "p2sh", "p2pk", "other"). */ scriptType: string; /** * Payload for the given script type: * - 20-byte hash for "p2pkh" and "p2sh" * - 33-byte or 65-byte pubkey for "p2pk" * - Serialized script for "other" */ payload: Uint8Array; } /** Batch parameters for `POST /script/batch/utxos`. */ export interface ScriptBatchUtxosParams { /** Scripts to query. */ scripts: ScriptRef[]; } /** Request body for `POST /script/batch/utxos` (`application/x-protobuf`). */ export interface ScriptBatchUtxosRequest { /** Batch inputs (scripts to resolve UTXOs for). */ params: ScriptBatchUtxosParams | undefined; } /** * One successful row in the batch response (echoes the request script from the same index). * If any script in the batch fails, the whole request fails with HTTP 400 and an `Error` body. */ export interface ScriptBatchUtxosRow { /** Echoes the corresponding entry from `ScriptBatchUtxosParams.scripts`. */ script: ScriptRef | undefined; /** UTXO set for this script. */ utxos: ScriptUtxos | undefined; } /** Response body for `POST /script/batch/utxos` (`application/x-protobuf`) on success. */ export interface ScriptBatchUtxosResponse { /** One row per requested script, same order as `ScriptBatchUtxosParams.scripts`. */ rows: ScriptBatchUtxosRow[]; } /** List of UTXOs */ export interface Utxos { /** UTXOs */ utxos: Utxo[]; } /** Broadcast a single tx */ export interface BroadcastTxRequest { /** Serialized tx */ rawTx: Uint8Array; /** Whether to skip token checks and broadcast even if tokens are unintentionally burned */ skipTokenChecks: boolean; /** * Waits for finalization of the transaction before returning the request, * for up to the given seconds. * Set to 0 to not wait at all and return right after broadcast. */ finalizationTimeoutSecs: bigint; } /** Response of broadcasting the tx */ export interface BroadcastTxResponse { /** TxId of the broadcast tx */ txid: Uint8Array; } /** Broadcast multiple txs. If one of the txs fails token validation, the entire batch will not be broadcast. */ export interface BroadcastTxsRequest { /** Serialized txs. */ rawTxs: Uint8Array[]; /** Whether to skip token checks and broadcast even if tokens are unintentionally burned */ skipTokenChecks: boolean; /** * Waits for finalization of the transaction before returning the request, * for up to the given seconds. * Set to 0 to not wait at all and return right after broadcast. */ finalizationTimeoutSecs: bigint; } /** Response of broadcasting txs */ export interface BroadcastTxsResponse { /** TxIds of the broadcast txs */ txids: Uint8Array[]; } /** Raw serialized tx. */ export interface RawTx { /** Bytes of the serialized tx. */ rawTx: Uint8Array; } /** Subscription to WebSocket updates. */ export interface WsSub { /** Set this to `true` to unsubscribe from the event. */ isUnsub: boolean; /** Subscription to block updates */ blocks?: WsSubBlocks | undefined; /** Subscription to all txs */ txs?: WsSubTxs | undefined; /** Subscription to a script */ script?: WsSubScript | undefined; /** Subscription to a token ID */ tokenId?: WsSubTokenId | undefined; /** Subscription to a lokad ID */ lokadId?: WsSubLokadId | undefined; /** Subscription to a plugin group */ plugin?: WsPlugin | undefined; /** Subscription to a txid */ txid?: WsSubTxId | undefined; } /** * Subscription to blocks. They will be sent any time a block got connected, * disconnected or finalized. */ export interface WsSubBlocks { } /** Subscription to all txs. */ export interface WsSubTxs { } /** * Subscription to a script. They will be sent every time a tx spending the * given script or sending to the given script has been added to/removed from * the mempool, or confirmed in a block. */ export interface WsSubScript { /** Script type to subscribe to ("p2pkh", "p2sh", "p2pk", "other"). */ scriptType: string; /** * Payload for the given script type: * - 20-byte hash for "p2pkh" and "p2sh" * - 33-byte or 65-byte pubkey for "p2pk" * - Serialized script for "other" */ payload: Uint8Array; } /** * Subscription to a token ID. They will be sent every time a tx spending or * sending tokens with the token ID. */ export interface WsSubTokenId { /** Hex token ID to subscribe to. */ tokenId: string; } /** * Subscription to a LOKAD ID. They will be sent every time a tx matches the given LOKAD ID in one of the following ways: * - `OP_RETURN ...`: The first output has an OP_RETURN with the given LOKAD ID as first pushop * - `OP_RETURN OP_RESERVED "..." "..." ...`: The first output has an eMPP encoded OP_RETURN, and one (or more) of the pushops has the LOKAD ID as prefix. * - ` ...`: An input's scriptSig has the given LOKAD ID as the first pushop */ export interface WsSubLokadId { /** 4-byte LOKAD ID. */ lokadId: Uint8Array; } /** Subscription to a group assigned by a plugin to outputs. */ export interface WsPlugin { /** Name of the plugin to subscribe to */ pluginName: string; /** Group assigned by the plugin to subscribe to */ group: Uint8Array; } /** Subscription to a txid. They will be sent every time a tx status confirmation changes. */ export interface WsSubTxId { /** Hex txid to subscribe to. */ txid: string; } /** Message coming from the WebSocket */ export interface WsMsg { /** Error, e.g. when a bad message has been sent into the WebSocket. */ error?: Error | undefined; /** Block got connected, disconnected, finalized, etc. */ block?: MsgBlock | undefined; /** Tx got added to/removed from the mempool, or confirmed in a block. */ tx?: MsgTx | undefined; } /** The relevant coinbase data */ export interface CoinbaseData { /** The coinbase input scriptsig */ coinbaseScriptsig: Uint8Array; /** Outputs of the coinbase tx */ coinbaseOutputs: TxOutput[]; } /** Block got connected, disconnected, finalized, invalidated, etc. */ export interface MsgBlock { /** What happened to the block */ msgType: BlockMsgType; /** Hash of the block (little-endian) */ blockHash: Uint8Array; /** Height of the block */ blockHeight: number; /** Timestamp field of the block */ blockTimestamp: bigint; /** * The coinbase data, only available if the block is disconnected or * invalidated */ coinbaseData: CoinbaseData | undefined; } /** The reason that caused a tx to finalize */ export interface TxFinalizationReason { /** What kind of finalization occured */ finalizationType: TxFinalizationReasonType; } /** Tx got added to/removed from mempool, or confirmed in a block, etc. */ export interface MsgTx { /** What happened to the tx */ msgType: TxMsgType; /** Txid of the tx (little-endian) */ txid: Uint8Array; /** * If the transaction is finalized, whether it's from pre-consensus or * post-consensus */ finalizationReason: TxFinalizationReason | undefined; } /** Empty msg without any data */ export interface Empty { } /** Error message returned from our APIs. */ export interface Error { /** 2, as legacy chronik uses this for the message so we're still compatible. */ msg: string; } export declare const Block: { encode(message: Block, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Block; fromJSON(object: any): Block; toJSON(message: Block): unknown; create, I>>(base?: I): Block; fromPartial, I>>(object: I): Block; }; export declare const Blocks: { encode(message: Blocks, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Blocks; fromJSON(object: any): Blocks; toJSON(message: Blocks): unknown; create, I>>(base?: I): Blocks; fromPartial, I>>(object: I): Blocks; }; export declare const BlockHeader: { encode(message: BlockHeader, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): BlockHeader; fromJSON(object: any): BlockHeader; toJSON(message: BlockHeader): unknown; create, I>>(base?: I): BlockHeader; fromPartial, I>>(object: I): BlockHeader; }; export declare const BlockHeaders: { encode(message: BlockHeaders, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): BlockHeaders; fromJSON(object: any): BlockHeaders; toJSON(message: BlockHeaders): unknown; create, I>>(base?: I): BlockHeaders; fromPartial, I>>(object: I): BlockHeaders; }; export declare const BlockchainInfo: { encode(message: BlockchainInfo, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): BlockchainInfo; fromJSON(object: any): BlockchainInfo; toJSON(message: BlockchainInfo): unknown; create, I>>(base?: I): BlockchainInfo; fromPartial, I>>(object: I): BlockchainInfo; }; export declare const ChronikInfo: { encode(message: ChronikInfo, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ChronikInfo; fromJSON(object: any): ChronikInfo; toJSON(message: ChronikInfo): unknown; create, I>>(base?: I): ChronikInfo; fromPartial, I>>(object: I): ChronikInfo; }; export declare const BlockInfo: { encode(message: BlockInfo, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): BlockInfo; fromJSON(object: any): BlockInfo; toJSON(message: BlockInfo): unknown; create, I>>(base?: I): BlockInfo; fromPartial, I>>(object: I): BlockInfo; }; export declare const Tx: { encode(message: Tx, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Tx; fromJSON(object: any): Tx; toJSON(message: Tx): unknown; create, I>>(base?: I): Tx; fromPartial, I>>(object: I): Tx; }; export declare const ScriptUtxo: { encode(message: ScriptUtxo, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ScriptUtxo; fromJSON(object: any): ScriptUtxo; toJSON(message: ScriptUtxo): unknown; create, I>>(base?: I): ScriptUtxo; fromPartial, I>>(object: I): ScriptUtxo; }; export declare const ScriptUtxo_PluginsEntry: { encode(message: ScriptUtxo_PluginsEntry, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ScriptUtxo_PluginsEntry; fromJSON(object: any): ScriptUtxo_PluginsEntry; toJSON(message: ScriptUtxo_PluginsEntry): unknown; create, I>>(base?: I): ScriptUtxo_PluginsEntry; fromPartial, I>>(object: I): ScriptUtxo_PluginsEntry; }; export declare const Utxo: { encode(message: Utxo, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Utxo; fromJSON(object: any): Utxo; toJSON(message: Utxo): unknown; create, I>>(base?: I): Utxo; fromPartial, I>>(object: I): Utxo; }; export declare const Utxo_PluginsEntry: { encode(message: Utxo_PluginsEntry, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Utxo_PluginsEntry; fromJSON(object: any): Utxo_PluginsEntry; toJSON(message: Utxo_PluginsEntry): unknown; create, I>>(base?: I): Utxo_PluginsEntry; fromPartial, I>>(object: I): Utxo_PluginsEntry; }; export declare const OutPoint: { encode(message: OutPoint, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): OutPoint; fromJSON(object: any): OutPoint; toJSON(message: OutPoint): unknown; create, I>>(base?: I): OutPoint; fromPartial, I>>(object: I): OutPoint; }; export declare const SpentBy: { encode(message: SpentBy, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): SpentBy; fromJSON(object: any): SpentBy; toJSON(message: SpentBy): unknown; create, I>>(base?: I): SpentBy; fromPartial, I>>(object: I): SpentBy; }; export declare const TxInput: { encode(message: TxInput, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TxInput; fromJSON(object: any): TxInput; toJSON(message: TxInput): unknown; create, I>>(base?: I): TxInput; fromPartial, I>>(object: I): TxInput; }; export declare const TxInput_PluginsEntry: { encode(message: TxInput_PluginsEntry, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TxInput_PluginsEntry; fromJSON(object: any): TxInput_PluginsEntry; toJSON(message: TxInput_PluginsEntry): unknown; create, I>>(base?: I): TxInput_PluginsEntry; fromPartial, I>>(object: I): TxInput_PluginsEntry; }; export declare const TxOutput: { encode(message: TxOutput, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TxOutput; fromJSON(object: any): TxOutput; toJSON(message: TxOutput): unknown; create, I>>(base?: I): TxOutput; fromPartial, I>>(object: I): TxOutput; }; export declare const TxOutput_PluginsEntry: { encode(message: TxOutput_PluginsEntry, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TxOutput_PluginsEntry; fromJSON(object: any): TxOutput_PluginsEntry; toJSON(message: TxOutput_PluginsEntry): unknown; create, I>>(base?: I): TxOutput_PluginsEntry; fromPartial, I>>(object: I): TxOutput_PluginsEntry; }; export declare const BlockMetadata: { encode(message: BlockMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): BlockMetadata; fromJSON(object: any): BlockMetadata; toJSON(message: BlockMetadata): unknown; create, I>>(base?: I): BlockMetadata; fromPartial, I>>(object: I): BlockMetadata; }; export declare const TokenType: { encode(message: TokenType, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TokenType; fromJSON(object: any): TokenType; toJSON(message: TokenType): unknown; create, I>>(base?: I): TokenType; fromPartial, I>>(object: I): TokenType; }; export declare const TokenInfo: { encode(message: TokenInfo, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TokenInfo; fromJSON(object: any): TokenInfo; toJSON(message: TokenInfo): unknown; create, I>>(base?: I): TokenInfo; fromPartial, I>>(object: I): TokenInfo; }; export declare const TokenEntry: { encode(message: TokenEntry, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TokenEntry; fromJSON(object: any): TokenEntry; toJSON(message: TokenEntry): unknown; create, I>>(base?: I): TokenEntry; fromPartial, I>>(object: I): TokenEntry; }; export declare const GenesisInfo: { encode(message: GenesisInfo, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GenesisInfo; fromJSON(object: any): GenesisInfo; toJSON(message: GenesisInfo): unknown; create, I>>(base?: I): GenesisInfo; fromPartial, I>>(object: I): GenesisInfo; }; export declare const Token: { encode(message: Token, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Token; fromJSON(object: any): Token; toJSON(message: Token): unknown; create, I>>(base?: I): Token; fromPartial, I>>(object: I): Token; }; export declare const TokenFailedParsing: { encode(message: TokenFailedParsing, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TokenFailedParsing; fromJSON(object: any): TokenFailedParsing; toJSON(message: TokenFailedParsing): unknown; create, I>>(base?: I): TokenFailedParsing; fromPartial, I>>(object: I): TokenFailedParsing; }; export declare const TokenFailedColoring: { encode(message: TokenFailedColoring, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TokenFailedColoring; fromJSON(object: any): TokenFailedColoring; toJSON(message: TokenFailedColoring): unknown; create, I>>(base?: I): TokenFailedColoring; fromPartial, I>>(object: I): TokenFailedColoring; }; export declare const PluginEntry: { encode(message: PluginEntry, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): PluginEntry; fromJSON(object: any): PluginEntry; toJSON(message: PluginEntry): unknown; create, I>>(base?: I): PluginEntry; fromPartial, I>>(object: I): PluginEntry; }; export declare const PluginGroup: { encode(message: PluginGroup, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): PluginGroup; fromJSON(object: any): PluginGroup; toJSON(message: PluginGroup): unknown; create, I>>(base?: I): PluginGroup; fromPartial, I>>(object: I): PluginGroup; }; export declare const PluginGroups: { encode(message: PluginGroups, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): PluginGroups; fromJSON(object: any): PluginGroups; toJSON(message: PluginGroups): unknown; create, I>>(base?: I): PluginGroups; fromPartial, I>>(object: I): PluginGroups; }; export declare const TxHistoryPage: { encode(message: TxHistoryPage, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TxHistoryPage; fromJSON(object: any): TxHistoryPage; toJSON(message: TxHistoryPage): unknown; create, I>>(base?: I): TxHistoryPage; fromPartial, I>>(object: I): TxHistoryPage; }; export declare const ScriptUtxos: { encode(message: ScriptUtxos, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ScriptUtxos; fromJSON(object: any): ScriptUtxos; toJSON(message: ScriptUtxos): unknown; create, I>>(base?: I): ScriptUtxos; fromPartial, I>>(object: I): ScriptUtxos; }; export declare const ScriptRef: { encode(message: ScriptRef, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ScriptRef; fromJSON(object: any): ScriptRef; toJSON(message: ScriptRef): unknown; create, I>>(base?: I): ScriptRef; fromPartial, I>>(object: I): ScriptRef; }; export declare const ScriptBatchUtxosParams: { encode(message: ScriptBatchUtxosParams, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ScriptBatchUtxosParams; fromJSON(object: any): ScriptBatchUtxosParams; toJSON(message: ScriptBatchUtxosParams): unknown; create, I>>(base?: I): ScriptBatchUtxosParams; fromPartial, I>>(object: I): ScriptBatchUtxosParams; }; export declare const ScriptBatchUtxosRequest: { encode(message: ScriptBatchUtxosRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ScriptBatchUtxosRequest; fromJSON(object: any): ScriptBatchUtxosRequest; toJSON(message: ScriptBatchUtxosRequest): unknown; create, I>>(base?: I): ScriptBatchUtxosRequest; fromPartial, I>>(object: I): ScriptBatchUtxosRequest; }; export declare const ScriptBatchUtxosRow: { encode(message: ScriptBatchUtxosRow, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ScriptBatchUtxosRow; fromJSON(object: any): ScriptBatchUtxosRow; toJSON(message: ScriptBatchUtxosRow): unknown; create, I>>(base?: I): ScriptBatchUtxosRow; fromPartial, I>>(object: I): ScriptBatchUtxosRow; }; export declare const ScriptBatchUtxosResponse: { encode(message: ScriptBatchUtxosResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ScriptBatchUtxosResponse; fromJSON(object: any): ScriptBatchUtxosResponse; toJSON(message: ScriptBatchUtxosResponse): unknown; create, I>>(base?: I): ScriptBatchUtxosResponse; fromPartial, I>>(object: I): ScriptBatchUtxosResponse; }; export declare const Utxos: { encode(message: Utxos, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Utxos; fromJSON(object: any): Utxos; toJSON(message: Utxos): unknown; create, I>>(base?: I): Utxos; fromPartial, I>>(object: I): Utxos; }; export declare const BroadcastTxRequest: { encode(message: BroadcastTxRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): BroadcastTxRequest; fromJSON(object: any): BroadcastTxRequest; toJSON(message: BroadcastTxRequest): unknown; create, I>>(base?: I): BroadcastTxRequest; fromPartial, I>>(object: I): BroadcastTxRequest; }; export declare const BroadcastTxResponse: { encode(message: BroadcastTxResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): BroadcastTxResponse; fromJSON(object: any): BroadcastTxResponse; toJSON(message: BroadcastTxResponse): unknown; create, I>>(base?: I): BroadcastTxResponse; fromPartial, I>>(object: I): BroadcastTxResponse; }; export declare const BroadcastTxsRequest: { encode(message: BroadcastTxsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): BroadcastTxsRequest; fromJSON(object: any): BroadcastTxsRequest; toJSON(message: BroadcastTxsRequest): unknown; create, I>>(base?: I): BroadcastTxsRequest; fromPartial, I>>(object: I): BroadcastTxsRequest; }; export declare const BroadcastTxsResponse: { encode(message: BroadcastTxsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): BroadcastTxsResponse; fromJSON(object: any): BroadcastTxsResponse; toJSON(message: BroadcastTxsResponse): unknown; create, I>>(base?: I): BroadcastTxsResponse; fromPartial, I>>(object: I): BroadcastTxsResponse; }; export declare const RawTx: { encode(message: RawTx, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): RawTx; fromJSON(object: any): RawTx; toJSON(message: RawTx): unknown; create, I>>(base?: I): RawTx; fromPartial, I>>(object: I): RawTx; }; export declare const WsSub: { encode(message: WsSub, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): WsSub; fromJSON(object: any): WsSub; toJSON(message: WsSub): unknown; create, I>>(base?: I): WsSub; fromPartial, I>>(object: I): WsSub; }; export declare const WsSubBlocks: { encode(_: WsSubBlocks, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): WsSubBlocks; fromJSON(_: any): WsSubBlocks; toJSON(_: WsSubBlocks): unknown; create, I>>(base?: I): WsSubBlocks; fromPartial, I>>(_: I): WsSubBlocks; }; export declare const WsSubTxs: { encode(_: WsSubTxs, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): WsSubTxs; fromJSON(_: any): WsSubTxs; toJSON(_: WsSubTxs): unknown; create, I>>(base?: I): WsSubTxs; fromPartial, I>>(_: I): WsSubTxs; }; export declare const WsSubScript: { encode(message: WsSubScript, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): WsSubScript; fromJSON(object: any): WsSubScript; toJSON(message: WsSubScript): unknown; create, I>>(base?: I): WsSubScript; fromPartial, I>>(object: I): WsSubScript; }; export declare const WsSubTokenId: { encode(message: WsSubTokenId, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): WsSubTokenId; fromJSON(object: any): WsSubTokenId; toJSON(message: WsSubTokenId): unknown; create, I>>(base?: I): WsSubTokenId; fromPartial, I>>(object: I): WsSubTokenId; }; export declare const WsSubLokadId: { encode(message: WsSubLokadId, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): WsSubLokadId; fromJSON(object: any): WsSubLokadId; toJSON(message: WsSubLokadId): unknown; create, I>>(base?: I): WsSubLokadId; fromPartial, I>>(object: I): WsSubLokadId; }; export declare const WsPlugin: { encode(message: WsPlugin, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): WsPlugin; fromJSON(object: any): WsPlugin; toJSON(message: WsPlugin): unknown; create, I>>(base?: I): WsPlugin; fromPartial, I>>(object: I): WsPlugin; }; export declare const WsSubTxId: { encode(message: WsSubTxId, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): WsSubTxId; fromJSON(object: any): WsSubTxId; toJSON(message: WsSubTxId): unknown; create, I>>(base?: I): WsSubTxId; fromPartial, I>>(object: I): WsSubTxId; }; export declare const WsMsg: { encode(message: WsMsg, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): WsMsg; fromJSON(object: any): WsMsg; toJSON(message: WsMsg): unknown; create, I>>(base?: I): WsMsg; fromPartial, I>>(object: I): WsMsg; }; export declare const CoinbaseData: { encode(message: CoinbaseData, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CoinbaseData; fromJSON(object: any): CoinbaseData; toJSON(message: CoinbaseData): unknown; create, I>>(base?: I): CoinbaseData; fromPartial, I>>(object: I): CoinbaseData; }; export declare const MsgBlock: { encode(message: MsgBlock, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgBlock; fromJSON(object: any): MsgBlock; toJSON(message: MsgBlock): unknown; create, I>>(base?: I): MsgBlock; fromPartial, I>>(object: I): MsgBlock; }; export declare const TxFinalizationReason: { encode(message: TxFinalizationReason, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TxFinalizationReason; fromJSON(object: any): TxFinalizationReason; toJSON(message: TxFinalizationReason): unknown; create, I>>(base?: I): TxFinalizationReason; fromPartial, I>>(object: I): TxFinalizationReason; }; export declare const MsgTx: { encode(message: MsgTx, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgTx; fromJSON(object: any): MsgTx; toJSON(message: MsgTx): unknown; create, I>>(base?: I): MsgTx; fromPartial, I>>(object: I): MsgTx; }; export declare const Empty: { encode(_: Empty, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Empty; fromJSON(_: any): Empty; toJSON(_: Empty): unknown; create, I>>(base?: I): Empty; fromPartial, I>>(_: I): Empty; }; export declare const Error: { encode(message: Error, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Error; fromJSON(object: any): Error; toJSON(message: Error): unknown; create, I>>(base?: I): Error; fromPartial, I>>(object: I): Error; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined; export type DeepPartial = T extends Builtin ? T : T extends globalThis.Array ? globalThis.Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; export type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & { [K in Exclude>]: never; }; export {}; //# sourceMappingURL=chronik.d.ts.map