UNPKG

did-btcr2-js

Version:

Monorepo for did:btcr2 js/ts implementation and supporting packages.

240 lines (120 loc) 6.7 kB
[**@did-btc1/method**](../README.md) *** [@did-btc1/method](../globals.md) / BlockV2 # Interface: BlockV2 Defined in: [packages/method/src/types/bitcoin.ts:400](https://github.com/dcdpr/did-btc1-js/blob/4ab6f9915d95beed9bc633644c9db1539395f512/packages/method/src/types/bitcoin.ts#L400) Block and GetBlock ## Extends - [`Block`](../type-aliases/Block.md) ## Properties ### bits > **bits**: `string` Defined in: [packages/method/src/types/bitcoin.ts:385](https://github.com/dcdpr/did-btc1-js/blob/4ab6f9915d95beed9bc633644c9db1539395f512/packages/method/src/types/bitcoin.ts#L385) #### Inherited from [`Block`](../type-aliases/Block.md).[`bits`](../type-aliases/Block.md#bits) *** ### chainwork > **chainwork**: `string` Defined in: [packages/method/src/types/bitcoin.ts:387](https://github.com/dcdpr/did-btc1-js/blob/4ab6f9915d95beed9bc633644c9db1539395f512/packages/method/src/types/bitcoin.ts#L387) #### Inherited from [`Block`](../type-aliases/Block.md).[`chainwork`](../type-aliases/Block.md#chainwork) *** ### confirmations > **confirmations**: `number` Defined in: [packages/method/src/types/bitcoin.ts:377](https://github.com/dcdpr/did-btc1-js/blob/4ab6f9915d95beed9bc633644c9db1539395f512/packages/method/src/types/bitcoin.ts#L377) #### Inherited from [`Block`](../type-aliases/Block.md).[`confirmations`](../type-aliases/Block.md#confirmations) *** ### difficulty > **difficulty**: `number` Defined in: [packages/method/src/types/bitcoin.ts:386](https://github.com/dcdpr/did-btc1-js/blob/4ab6f9915d95beed9bc633644c9db1539395f512/packages/method/src/types/bitcoin.ts#L386) #### Inherited from [`Block`](../type-aliases/Block.md).[`difficulty`](../type-aliases/Block.md#difficulty) *** ### hash > **hash**: `string` Defined in: [packages/method/src/types/bitcoin.ts:376](https://github.com/dcdpr/did-btc1-js/blob/4ab6f9915d95beed9bc633644c9db1539395f512/packages/method/src/types/bitcoin.ts#L376) #### Inherited from [`Block`](../type-aliases/Block.md).[`hash`](../type-aliases/Block.md#hash) *** ### height > **height**: `number` Defined in: [packages/method/src/types/bitcoin.ts:378](https://github.com/dcdpr/did-btc1-js/blob/4ab6f9915d95beed9bc633644c9db1539395f512/packages/method/src/types/bitcoin.ts#L378) #### Inherited from [`Block`](../type-aliases/Block.md).[`height`](../type-aliases/Block.md#height) *** ### mediantime > **mediantime**: `number` Defined in: [packages/method/src/types/bitcoin.ts:383](https://github.com/dcdpr/did-btc1-js/blob/4ab6f9915d95beed9bc633644c9db1539395f512/packages/method/src/types/bitcoin.ts#L383) #### Inherited from [`Block`](../type-aliases/Block.md).[`mediantime`](../type-aliases/Block.md#mediantime) *** ### merkleroot > **merkleroot**: `string` Defined in: [packages/method/src/types/bitcoin.ts:381](https://github.com/dcdpr/did-btc1-js/blob/4ab6f9915d95beed9bc633644c9db1539395f512/packages/method/src/types/bitcoin.ts#L381) #### Inherited from [`Block`](../type-aliases/Block.md).[`merkleroot`](../type-aliases/Block.md#merkleroot) *** ### nextblockhash? > `optional` **nextblockhash**: `string` Defined in: [packages/method/src/types/bitcoin.ts:390](https://github.com/dcdpr/did-btc1-js/blob/4ab6f9915d95beed9bc633644c9db1539395f512/packages/method/src/types/bitcoin.ts#L390) #### Inherited from [`Block`](../type-aliases/Block.md).[`nextblockhash`](../type-aliases/Block.md#nextblockhash) *** ### nonce > **nonce**: `number` Defined in: [packages/method/src/types/bitcoin.ts:384](https://github.com/dcdpr/did-btc1-js/blob/4ab6f9915d95beed9bc633644c9db1539395f512/packages/method/src/types/bitcoin.ts#L384) #### Inherited from [`Block`](../type-aliases/Block.md).[`nonce`](../type-aliases/Block.md#nonce) *** ### nTx > **nTx**: `number` Defined in: [packages/method/src/types/bitcoin.ts:388](https://github.com/dcdpr/did-btc1-js/blob/4ab6f9915d95beed9bc633644c9db1539395f512/packages/method/src/types/bitcoin.ts#L388) #### Inherited from [`Block`](../type-aliases/Block.md).[`nTx`](../type-aliases/Block.md#ntx) *** ### previousblockhash > **previousblockhash**: `string` Defined in: [packages/method/src/types/bitcoin.ts:389](https://github.com/dcdpr/did-btc1-js/blob/4ab6f9915d95beed9bc633644c9db1539395f512/packages/method/src/types/bitcoin.ts#L389) #### Inherited from [`Block`](../type-aliases/Block.md).[`previousblockhash`](../type-aliases/Block.md#previousblockhash) *** ### size > **size**: `number` Defined in: [packages/method/src/types/bitcoin.ts:392](https://github.com/dcdpr/did-btc1-js/blob/4ab6f9915d95beed9bc633644c9db1539395f512/packages/method/src/types/bitcoin.ts#L392) #### Inherited from [`Block`](../type-aliases/Block.md).[`size`](../type-aliases/Block.md#size) *** ### strippedsize > **strippedsize**: `number` Defined in: [packages/method/src/types/bitcoin.ts:391](https://github.com/dcdpr/did-btc1-js/blob/4ab6f9915d95beed9bc633644c9db1539395f512/packages/method/src/types/bitcoin.ts#L391) #### Inherited from [`Block`](../type-aliases/Block.md).[`strippedsize`](../type-aliases/Block.md#strippedsize) *** ### time > **time**: `number` Defined in: [packages/method/src/types/bitcoin.ts:382](https://github.com/dcdpr/did-btc1-js/blob/4ab6f9915d95beed9bc633644c9db1539395f512/packages/method/src/types/bitcoin.ts#L382) #### Inherited from [`Block`](../type-aliases/Block.md).[`time`](../type-aliases/Block.md#time) *** ### tx > **tx**: [`RawTransactionV1`](RawTransactionV1.md)[] Defined in: [packages/method/src/types/bitcoin.ts:401](https://github.com/dcdpr/did-btc1-js/blob/4ab6f9915d95beed9bc633644c9db1539395f512/packages/method/src/types/bitcoin.ts#L401) *** ### version > **version**: `number` Defined in: [packages/method/src/types/bitcoin.ts:379](https://github.com/dcdpr/did-btc1-js/blob/4ab6f9915d95beed9bc633644c9db1539395f512/packages/method/src/types/bitcoin.ts#L379) #### Inherited from [`Block`](../type-aliases/Block.md).[`version`](../type-aliases/Block.md#version) *** ### versionHex > **versionHex**: `string` Defined in: [packages/method/src/types/bitcoin.ts:380](https://github.com/dcdpr/did-btc1-js/blob/4ab6f9915d95beed9bc633644c9db1539395f512/packages/method/src/types/bitcoin.ts#L380) #### Inherited from [`Block`](../type-aliases/Block.md).[`versionHex`](../type-aliases/Block.md#versionhex) *** ### weight > **weight**: `number` Defined in: [packages/method/src/types/bitcoin.ts:393](https://github.com/dcdpr/did-btc1-js/blob/4ab6f9915d95beed9bc633644c9db1539395f512/packages/method/src/types/bitcoin.ts#L393) #### Inherited from [`Block`](../type-aliases/Block.md).[`weight`](../type-aliases/Block.md#weight)