diff --git a/docs/JSON-RPC-API/modules/admin.md b/docs/JSON-RPC-API/modules/admin.md index ca9c5ee917..232f7e7efd 100755 --- a/docs/JSON-RPC-API/modules/admin.md +++ b/docs/JSON-RPC-API/modules/admin.md @@ -7,7 +7,7 @@ | Entity | Version | | --- | --- | -| Source | 1.11.22-unstable/generated-at:2021-01-22T08:53:19-06:00 | +| Source | 1.11.22-unstable/generated-at:2021-01-23T04:35:53-06:00 | | OpenRPC | 1.2.6 | --- @@ -232,21 +232,21 @@ blockNr rpc.BlockNumber ``` Schema - - title: `blockNumberIdentifier` - oneOf: - description: `The block height description` - enum: earliest, latest, pending - - type: string - title: `blockNumberTag` + - type: string - - title: `uint64` - description: `Hex representation of a uint64` - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` - type: string + - title: `blockNumberIdentifier` ``` @@ -359,10 +359,10 @@ first *uint64 ``` Schema - - type: string - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: string ``` @@ -393,9 +393,9 @@ last *uint64 ``` Schema - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: string @@ -608,9 +608,9 @@ n int ``` Schema - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: string @@ -709,7 +709,14 @@ _None_ ``` Schema + - additionalProperties: `false` - properties: + - enode: + - type: `string` + + - enr: + - type: `string` + - id: - type: `string` @@ -731,14 +738,15 @@ _None_ - type: `string` - listener: - - type: `string` - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` + - type: `string` - type: `object` - protocols: + - additionalProperties: `false` - properties: - discovery: - pattern: `^0x[a-fA-F0-9]+$` @@ -752,17 +760,9 @@ _None_ - type: `object` - - additionalProperties: `false` - - - enode: - - type: `string` - - - enr: - - type: `string` - type: object - - additionalProperties: `false` ``` @@ -895,18 +895,27 @@ p2pPeerInfo []*p2p.PeerInfo - additionalProperties: `false` - properties: + - caps: + - items: + - type: `string` + + - type: `array` + + - enode: + - type: `string` + + - enr: + - type: `string` + + - id: + - type: `string` + - name: - type: `string` - network: - additionalProperties: `false` - properties: - - static: - - type: `boolean` - - - trusted: - - type: `boolean` - - inbound: - type: `boolean` @@ -916,15 +925,18 @@ p2pPeerInfo []*p2p.PeerInfo - remoteAddress: - type: `string` + - static: + - type: `boolean` + + - trusted: + - type: `boolean` + - type: `object` - protocols: - additionalProperties: `false` - properties: - - trusted: - - type: `boolean` - - inbound: - type: `boolean` @@ -937,23 +949,11 @@ p2pPeerInfo []*p2p.PeerInfo - static: - type: `boolean` + - trusted: + - type: `boolean` - - type: `object` - - - caps: - - items: - - type: `string` - - - type: `array` - - - enode: - - type: `string` - - - enr: - - type: `string` - - id: - - type: `string` + - type: `object` - type: object @@ -1257,9 +1257,9 @@ port *int ``` Schema - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: string @@ -1421,9 +1421,9 @@ port *int ``` Schema - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: string diff --git a/docs/JSON-RPC-API/modules/debug.md b/docs/JSON-RPC-API/modules/debug.md index d04d40c77b..11a3697a08 100755 --- a/docs/JSON-RPC-API/modules/debug.md +++ b/docs/JSON-RPC-API/modules/debug.md @@ -7,7 +7,7 @@ | Entity | Version | | --- | --- | -| Source | 1.11.22-unstable/generated-at:2021-01-22T08:53:19-06:00 | +| Source | 1.11.22-unstable/generated-at:2021-01-23T04:35:53-06:00 | | OpenRPC | 1.2.6 | --- @@ -44,10 +44,10 @@ start []byte ``` Schema - - type: string - - title: `bytes` - description: `Hex representation of a variable length byte array` - pattern: `^0x([a-fA-F0-9]?)+$` + - title: `bytes` + - type: string ``` @@ -78,9 +78,9 @@ maxResults int ``` Schema - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: string @@ -149,9 +149,16 @@ incompletes bool - accounts: - patternProperties: - .*: - - type: `object` - additionalProperties: `false` - properties: + - address: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` + + - balance: + - type: `string` + - code: - type: `string` @@ -179,23 +186,16 @@ incompletes bool - type: `object` - - address: - - title: `keccak` - - type: `string` - - pattern: `^0x[a-fA-F\d]{64}$` - - - balance: - - type: `string` - + - type: `object` - type: `object` - next: - - type: `string` - pattern: `^0x([a-fA-F0-9]?)+$` - title: `bytes` + - type: `string` - root: - type: `string` @@ -429,9 +429,9 @@ nsec uint ``` Schema - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: string @@ -645,9 +645,9 @@ nsec uint ``` Schema - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: string @@ -731,21 +731,21 @@ blockNr rpc.BlockNumber ``` Schema - - title: `blockNumberIdentifier` - oneOf: - description: `The block height description` - enum: earliest, latest, pending - - type: string - title: `blockNumberTag` + - type: string - - title: `uint64` - description: `Hex representation of a uint64` - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` - type: string + - title: `blockNumberIdentifier` ``` @@ -798,12 +798,21 @@ blockNr rpc.BlockNumber ``` Schema + - additionalProperties: `false` - properties: - accounts: - patternProperties: - .*: - additionalProperties: `false` - properties: + - address: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` + + - balance: + - type: `string` + - code: - type: `string` @@ -831,14 +840,6 @@ blockNr rpc.BlockNumber - type: `object` - - address: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` - - type: `string` - - - balance: - - type: `string` - - type: `object` @@ -850,7 +851,6 @@ blockNr rpc.BlockNumber - type: object - - additionalProperties: `false` ``` @@ -1034,9 +1034,17 @@ _None_ ``` Schema - - type: object - additionalProperties: `false` - properties: + - LastGC: + - format: `date-time` + - type: `string` + + - NumGC: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: `string` + - Pause: - items: - description: `Hex representation of the integer` @@ -1063,20 +1071,12 @@ _None_ - type: `array` - PauseTotal: - - type: `string` - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - - - LastGC: - - format: `date-time` - type: `string` - - NumGC: - - type: `string` - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` - + - type: object ``` @@ -1198,37 +1198,12 @@ BadBlockArgs []*BadBlockArgs - block: - additionalProperties: `false` - properties: - - error: - - type: `string` - - - miner: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` - - type: `string` - - - mixHash: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` - - type: `string` - - - number: + - difficulty: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - size: - - pattern: `^0x([a-fA-F\d])+$` - - title: `uint64` - - type: `string` - - - transactionsRoot: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` - - type: `string` - - - difficulty: - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` + - error: - type: `string` - extraData: @@ -1237,33 +1212,55 @@ BadBlockArgs []*BadBlockArgs - type: `string` - gasLimit: + - pattern: `^0x([a-fA-F\d])+$` - title: `uint64` - type: `string` + + - gasUsed: - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` + - type: `string` - - uncles: + - hash: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` + + - logsBloom: - items: - - title: `keccak` + - description: `Hex representation of the integer` + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: `string` - - description: `Hex representation of a Keccak 256 hash` - - pattern: `^0x[a-fA-F\d]{64}$` + - maxItems: `256` + - minItems: `256` - type: `array` - - stateRoot: + - miner: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - - timestamp: - - title: `uint64` + - mixHash: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: `string` - - pattern: `^0x([a-fA-F\d])+$` - nonce: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: `string` + + - number: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` + - type: `string` + + - parentHash: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` - receiptsRoot: - pattern: `^0x[a-fA-F\d]{64}$` @@ -1275,10 +1272,20 @@ BadBlockArgs []*BadBlockArgs - title: `keccak` - type: `string` - - parentHash: - - title: `keccak` + - size: + - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` - type: `string` + + - stateRoot: - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` + + - timestamp: + - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` + - type: `string` - totalDifficulty: - pattern: `^0x[a-fA-F0-9]+$` @@ -1291,25 +1298,18 @@ BadBlockArgs []*BadBlockArgs - type: `array` - - gasUsed: - - title: `uint64` - - type: `string` - - pattern: `^0x([a-fA-F\d])+$` - - - hash: + - transactionsRoot: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - - logsBloom: + - uncles: - items: - - title: `integer` + - description: `Hex representation of a Keccak 256 hash` + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: `string` - - description: `Hex representation of the integer` - - pattern: `^0x[a-fA-F0-9]+$` - - maxItems: `256` - - minItems: `256` - type: `array` @@ -1548,9 +1548,9 @@ number uint64 ``` Schema - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: string @@ -1648,10 +1648,10 @@ startHash common.Hash ``` Schema + - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` - - type: string - title: `keccak` - - description: `Hex representation of a Keccak 256 hash` + - type: string ``` @@ -1682,9 +1682,9 @@ endHash *common.Hash ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -1722,9 +1722,9 @@ commonAddress []common.Address - items: - - title: `keccak` - description: `Hex representation of a Keccak 256 hash POINTER` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -1831,9 +1831,9 @@ startNum uint64 ``` Schema - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: string @@ -1865,10 +1865,10 @@ endNum *uint64 ``` Schema - - type: string - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: string ``` @@ -1905,9 +1905,9 @@ commonAddress []common.Address - items: - - title: `keccak` - description: `Hex representation of a Keccak 256 hash POINTER` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -2022,8 +2022,8 @@ nsec uint - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` - - type: string - title: `integer` + - type: string ``` @@ -2111,52 +2111,77 @@ _None_ - additionalProperties: `false` - properties: - - HeapAlloc: + - Alloc: + - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - pattern: `^0x[a-fA-F0-9]+$` - - HeapIdle: + - BuckHashSys: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - MCacheInuse: - - title: `integer` - - type: `string` - - pattern: `^0x[a-fA-F0-9]+$` + - BySize: + - items: + - additionalProperties: `false` + - properties: + - Frees: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: `string` - - Sys: - - type: `string` - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` + - Mallocs: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: `string` - - LastGC: + - Size: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: `string` + + + - type: `object` + + - maxItems: `61` + - minItems: `61` + - type: `array` + + - DebugGC: + - type: `boolean` + + - EnableGC: + - type: `boolean` + + - Frees: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - StackSys: + - GCCPUFraction: + - type: `number` + + - GCSys: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - BuckHashSys: + - HeapAlloc: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - MCacheSys: - - type: `string` + - HeapIdle: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` + - type: `string` - - MSpanInuse: + - HeapInuse: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - PauseTotalNs: + - HeapObjects: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` @@ -2167,133 +2192,108 @@ _None_ - type: `string` - HeapSys: + - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` + + - LastGC: - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: `string` - Lookups: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - NextGC: + - MCacheInuse: + - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - pattern: `^0x[a-fA-F0-9]+$` - - OtherSys: + - MCacheSys: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - StackInuse: + - MSpanInuse: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - Alloc: + - MSpanSys: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - HeapInuse: + - Mallocs: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: `string` + + - NextGC: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` + - type: `string` - - Frees: + - NumForcedGC: + - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` + + - NumGC: - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: `string` - - MSpanSys: + - OtherSys: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - PauseEnd: - - type: `array` - items: - - title: `integer` - - type: `string` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: `string` - maxItems: `256` - minItems: `256` - - - HeapObjects: - - title: `integer` - - type: `string` - - pattern: `^0x[a-fA-F0-9]+$` + - type: `array` - PauseNs: - items: - - type: `string` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` + - type: `string` - maxItems: `256` - minItems: `256` - type: `array` - - TotalAlloc: + - PauseTotalNs: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - NumGC: + - StackInuse: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - BySize: - - items: - - properties: - - Frees: - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` - - type: `string` - - - Mallocs: - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` - - type: `string` - - - Size: - - title: `integer` - - type: `string` - - pattern: `^0x[a-fA-F0-9]+$` - - - - type: `object` - - additionalProperties: `false` - - - maxItems: `61` - - minItems: `61` - - type: `array` - - - DebugGC: - - type: `boolean` - - - EnableGC: - - type: `boolean` - - - GCCPUFraction: - - type: `number` - - - GCSys: + - StackSys: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - Mallocs: + - Sys: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - NumForcedGC: + - TotalAlloc: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` @@ -2570,9 +2570,9 @@ nsec uint ``` Schema - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: string @@ -2655,9 +2655,9 @@ hash common.Hash ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -2694,9 +2694,9 @@ hash common.Hash ``` Schema - - title: `dataWord` - description: `Hex representation of some bytes` - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` - type: string @@ -2771,10 +2771,10 @@ number uint64 ``` Schema + - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` - - type: string - title: `integer` - - description: `Hex representation of the integer` + - type: string ``` @@ -2864,10 +2864,10 @@ hash common.Hash ``` Schema - - type: string - - title: `keccak` - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: string ``` @@ -2974,9 +2974,9 @@ number uint64 ``` Schema - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: string @@ -3070,9 +3070,9 @@ rate int ``` Schema - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: string @@ -3152,9 +3152,9 @@ v int ``` Schema - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: string @@ -3191,10 +3191,10 @@ v int ``` Schema + - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` - - type: string - title: `integer` - - description: `Hex representation of the integer` + - type: string ``` @@ -3266,9 +3266,9 @@ number hexutil.Uint64 ``` Schema - - title: `uint64` - description: `Hex representation of a uint64` - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` - type: string @@ -3346,9 +3346,9 @@ rate int ``` Schema - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: string @@ -3482,9 +3482,9 @@ hash common.Hash ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -3518,6 +3518,9 @@ config *StdTraceConfig - additionalProperties: `false` - properties: + - Debug: + - type: `boolean` + - DisableMemory: - type: `boolean` @@ -3545,9 +3548,6 @@ config *StdTraceConfig - title: `keccak` - type: `string` - - Debug: - - type: `boolean` - - overrides: - additionalProperties: `true` @@ -3710,9 +3710,9 @@ hash common.Hash ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -3746,14 +3746,6 @@ config *StdTraceConfig - additionalProperties: `false` - properties: - - Limit: - - title: `integer` - - type: `string` - - pattern: `^0x[a-fA-F0-9]+$` - - - overrides: - - additionalProperties: `true` - - Debug: - type: `boolean` @@ -3769,16 +3761,24 @@ config *StdTraceConfig - DisableStorage: - type: `boolean` - - Reexec: + - Limit: + - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` + + - Reexec: - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: `string` - TxHash: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` + - overrides: + - additionalProperties: `true` + - type: object @@ -4184,10 +4184,10 @@ blockHash common.Hash ``` Schema + - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` - - type: string - title: `keccak` - - description: `Hex representation of a Keccak 256 hash` + - type: string ``` @@ -4220,8 +4220,8 @@ txIndex int - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` - - type: string - title: `integer` + - type: string ``` @@ -4252,9 +4252,9 @@ contractAddress common.Address ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash POINTER` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -4286,9 +4286,9 @@ keyStart hexutil.Bytes ``` Schema - - title: `dataWord` - description: `Hex representation of some bytes` - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` - type: string @@ -4320,9 +4320,9 @@ maxResult int ``` Schema - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: string @@ -4359,7 +4359,6 @@ maxResult int ``` Schema - - type: object - additionalProperties: `false` - properties: - nextKey: @@ -4389,6 +4388,7 @@ maxResult int - type: `object` + - type: object ``` @@ -4501,10 +4501,10 @@ address common.Address ``` Schema + - description: `Hex representation of a Keccak 256 hash POINTER` - pattern: `^0x[a-fA-F\d]{64}$` - - type: string - title: `keccak` - - description: `Hex representation of a Keccak 256 hash POINTER` + - type: string ``` @@ -4535,9 +4535,9 @@ number uint64 ``` Schema - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: string @@ -4576,8 +4576,8 @@ number uint64 - description: `Hex representation of a Keccak 256 hash POINTER` - pattern: `^0x[a-fA-F\d]{64}$` - - type: string - title: `keccak` + - type: string ``` @@ -4678,9 +4678,9 @@ hash common.Hash ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -4712,12 +4712,20 @@ config *TraceConfig ``` Schema - - type: object - additionalProperties: `false` - properties: + - Debug: + - type: `boolean` + + - DisableMemory: + - type: `boolean` + - DisableReturnData: - type: `boolean` + - DisableStack: + - type: `boolean` + - DisableStorage: - type: `boolean` @@ -4726,30 +4734,22 @@ config *TraceConfig - title: `integer` - type: `string` - - Timeout: + - Reexec: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: `string` - - Tracer: + - Timeout: - type: `string` - - Debug: - - type: `boolean` - - - DisableMemory: - - type: `boolean` - - - DisableStack: - - type: `boolean` - - - Reexec: - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` + - Tracer: - type: `string` - overrides: - additionalProperties: `true` + - type: object ``` @@ -4925,10 +4925,10 @@ blob []byte ``` Schema - - type: string - - title: `bytes` - description: `Hex representation of a variable length byte array` - pattern: `^0x([a-fA-F0-9]?)+$` + - title: `bytes` + - type: string ``` @@ -4964,9 +4964,23 @@ config *TraceConfig - Debug: - type: `boolean` + - DisableMemory: + - type: `boolean` + + - DisableReturnData: + - type: `boolean` + - DisableStack: - type: `boolean` + - DisableStorage: + - type: `boolean` + + - Limit: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: `string` + - Reexec: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` @@ -4981,20 +4995,6 @@ config *TraceConfig - overrides: - additionalProperties: `true` - - DisableMemory: - - type: `boolean` - - - DisableReturnData: - - type: `boolean` - - - DisableStorage: - - type: `boolean` - - - Limit: - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` - - type: `string` - - type: object @@ -5165,9 +5165,9 @@ hash common.Hash ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -5201,13 +5201,7 @@ config *TraceConfig - additionalProperties: `false` - properties: - - Tracer: - - type: `string` - - - overrides: - - additionalProperties: `true` - - - DisableStorage: + - Debug: - type: `boolean` - DisableMemory: @@ -5219,21 +5213,27 @@ config *TraceConfig - DisableStack: - type: `boolean` + - DisableStorage: + - type: `boolean` + - Limit: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - Reexec: + - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - pattern: `^0x[a-fA-F0-9]+$` - Timeout: - type: `string` - - Debug: - - type: `boolean` + - Tracer: + - type: `string` + + - overrides: + - additionalProperties: `true` - type: object @@ -5411,15 +5411,15 @@ number rpc.BlockNumber - oneOf: + - description: `The block height description` - enum: earliest, latest, pending - - type: string - title: `blockNumberTag` - - description: `The block height description` + - type: string - - title: `uint64` - description: `Hex representation of a uint64` - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` - type: string @@ -5473,23 +5473,15 @@ config *TraceConfig - additionalProperties: `false` - properties: - - DisableReturnData: + - Debug: - type: `boolean` - - Reexec: - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` - - type: `string` - - - Tracer: - - type: `string` - - - overrides: - - additionalProperties: `true` - - DisableMemory: - type: `boolean` + - DisableReturnData: + - type: `boolean` + - DisableStack: - type: `boolean` @@ -5501,11 +5493,19 @@ config *TraceConfig - title: `integer` - type: `string` + - Reexec: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: `string` + - Timeout: - type: `string` - - Debug: - - type: `boolean` + - Tracer: + - type: `string` + + - overrides: + - additionalProperties: `true` - type: object @@ -5579,7 +5579,6 @@ txTraceResult []*txTraceResult - items: - - type: object - additionalProperties: `false` - properties: - error: @@ -5589,6 +5588,7 @@ txTraceResult []*txTraceResult - additionalProperties: `true` + - type: object - type: array @@ -5688,40 +5688,40 @@ config *TraceConfig - additionalProperties: `false` - properties: - - Timeout: - - type: `string` + - Debug: + - type: `boolean` - DisableMemory: - type: `boolean` + - DisableReturnData: + - type: `boolean` + + - DisableStack: + - type: `boolean` + - DisableStorage: - type: `boolean` - Limit: + - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - pattern: `^0x[a-fA-F0-9]+$` - Reexec: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` + - Timeout: + - type: `string` + - Tracer: - type: `string` - overrides: - additionalProperties: `true` - - Debug: - - type: `boolean` - - - DisableReturnData: - - type: `boolean` - - - DisableStack: - - type: `boolean` - - type: object @@ -5794,7 +5794,6 @@ txTraceResult []*txTraceResult - items: - - type: object - additionalProperties: `false` - properties: - error: @@ -5804,6 +5803,7 @@ txTraceResult []*txTraceResult - additionalProperties: `true` + - type: object - type: array @@ -5897,6 +5897,7 @@ args ethapi.CallArgs ``` Schema + - additionalProperties: `false` - properties: - data: - pattern: `^0x([a-fA-F\d])+$` @@ -5914,14 +5915,14 @@ args ethapi.CallArgs - type: `string` - gasPrice: + - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - pattern: `^0x[a-fA-F0-9]+$` - to: + - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - - pattern: `^0x[a-fA-F\d]{64}$` - value: - pattern: `^0x[a-fA-F0-9]+$` @@ -5930,7 +5931,6 @@ args ethapi.CallArgs - type: object - - additionalProperties: `false` ``` @@ -6000,13 +6000,17 @@ config *TraceConfig ``` Schema + - additionalProperties: `false` - properties: - - Tracer: - - type: `string` + - Debug: + - type: `boolean` - DisableMemory: - type: `boolean` + - DisableReturnData: + - type: `boolean` + - DisableStack: - type: `boolean` @@ -6023,21 +6027,17 @@ config *TraceConfig - title: `integer` - type: `string` - - Debug: - - type: `boolean` - - - DisableReturnData: - - type: `boolean` - - Timeout: - type: `string` + - Tracer: + - type: `string` + - overrides: - additionalProperties: `true` - type: object - - additionalProperties: `false` ``` @@ -6181,9 +6181,9 @@ hash common.Hash ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -6215,31 +6215,33 @@ config *TraceConfig ``` Schema - - type: object - additionalProperties: `false` - properties: + - Debug: + - type: `boolean` + + - DisableMemory: + - type: `boolean` + - DisableReturnData: - type: `boolean` + - DisableStack: + - type: `boolean` + - DisableStorage: - type: `boolean` - Limit: + - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - pattern: `^0x[a-fA-F0-9]+$` - Reexec: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - DisableMemory: - - type: `boolean` - - - DisableStack: - - type: `boolean` - - Timeout: - type: `string` @@ -6249,10 +6251,8 @@ config *TraceConfig - overrides: - additionalProperties: `true` - - Debug: - - type: `boolean` - + - type: object ``` @@ -6372,9 +6372,9 @@ level int ``` Schema - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: string diff --git a/docs/JSON-RPC-API/modules/eth.md b/docs/JSON-RPC-API/modules/eth.md index 02809c57a4..66fd0629b1 100755 --- a/docs/JSON-RPC-API/modules/eth.md +++ b/docs/JSON-RPC-API/modules/eth.md @@ -7,7 +7,7 @@ | Entity | Version | | --- | --- | -| Source | 1.11.22-unstable/generated-at:2021-01-22T08:53:19-06:00 | +| Source | 1.11.22-unstable/generated-at:2021-01-23T04:35:53-06:00 | | OpenRPC | 1.2.6 | --- @@ -39,9 +39,9 @@ commonAddress []common.Address - items: - - title: `keccak` - description: `Hex representation of a Keccak 256 hash POINTER` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -126,9 +126,9 @@ _None_ ``` Schema - - title: `uint64` - description: `Hex representation of a uint64` - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` - type: string @@ -209,9 +209,9 @@ args CallArgs - additionalProperties: `false` - properties: - data: + - pattern: `^0x([a-fA-F\d])+$` - title: `dataWord` - type: `string` - - pattern: `^0x([a-fA-F\d])+$` - from: - pattern: `^0x[a-fA-F\d]{64}$` @@ -313,6 +313,21 @@ overrides *map[common.Address]account - .*: - additionalProperties: `false` - properties: + - balance: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: `string` + + - code: + - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` + - type: `string` + + - nonce: + - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` + - type: `string` + - state: - patternProperties: - .*: @@ -335,21 +350,6 @@ overrides *map[common.Address]account - type: `object` - - balance: - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` - - type: `string` - - - code: - - pattern: `^0x([a-fA-F\d])+$` - - title: `dataWord` - - type: `string` - - - nonce: - - pattern: `^0x([a-fA-F\d])+$` - - title: `uint64` - - type: `string` - - type: `object` @@ -434,8 +434,8 @@ overrides *map[common.Address]account - description: `Hex representation of some bytes` - pattern: `^0x([a-fA-F\d])+$` - - type: string - title: `dataWord` + - type: string ``` @@ -525,9 +525,9 @@ _None_ ``` Schema - - title: `uint64` - description: `Hex representation of a uint64` - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` - type: string @@ -606,9 +606,9 @@ _None_ ``` Schema - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: string @@ -683,9 +683,9 @@ _None_ ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash POINTER` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -760,15 +760,20 @@ args CallArgs - additionalProperties: `false` - properties: + - data: + - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` + - type: `string` + - from: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - gas: + - pattern: `^0x([a-fA-F\d])+$` - title: `uint64` - type: `string` - - pattern: `^0x([a-fA-F\d])+$` - gasPrice: - pattern: `^0x[a-fA-F0-9]+$` @@ -781,14 +786,9 @@ args CallArgs - type: `string` - value: - - title: `integer` - - type: `string` - pattern: `^0x[a-fA-F0-9]+$` - - - data: - - title: `dataWord` + - title: `integer` - type: `string` - - pattern: `^0x([a-fA-F\d])+$` - type: object @@ -866,10 +866,10 @@ blockNrOrHash *rpc.BlockNumberOrHash ``` Schema + - description: `Hex representation of a uint64` - pattern: `^0x([a-fA-F\d])+$` - - type: string - title: `uint64` - - description: `Hex representation of a uint64` + - type: string ``` @@ -950,8 +950,8 @@ _None_ - description: `Hex representation of a Keccak 256 hash POINTER` - pattern: `^0x[a-fA-F\d]{64}$` - - type: string - title: `keccak` + - type: string ``` @@ -1025,6 +1025,16 @@ args SendTxArgs - additionalProperties: `false` - properties: + - data: + - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` + - type: `string` + + - from: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` + - gas: - pattern: `^0x([a-fA-F\d])+$` - title: `uint64` @@ -1055,16 +1065,6 @@ args SendTxArgs - title: `integer` - type: `string` - - data: - - pattern: `^0x([a-fA-F\d])+$` - - title: `dataWord` - - type: `string` - - - from: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` - - type: `string` - - type: object @@ -1144,15 +1144,15 @@ args SendTxArgs - additionalProperties: `false` - properties: - - tx: - - additionalProperties: `false` - - type: `object` - - raw: - pattern: `^0x([a-fA-F\d])+$` - title: `dataWord` - type: `string` + - tx: + - additionalProperties: `false` + - type: `object` + - type: object @@ -1248,8 +1248,8 @@ _None_ - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` - - type: string - title: `integer` + - type: string ``` @@ -1323,9 +1323,9 @@ address common.Address ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash POINTER` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -1373,8 +1373,8 @@ blockNrOrHash rpc.BlockNumberOrHash - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` - - type: string - title: `integer` + - type: string ``` @@ -1452,9 +1452,9 @@ hash common.Hash ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -1502,83 +1502,98 @@ fullTx bool - additionalProperties: `false` - properties: + - difficulty: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: `string` + - error: - type: `string` + - extraData: + - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` + - type: `string` + + - gasLimit: + - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` + - type: `string` + + - gasUsed: + - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` + - type: `string` + + - hash: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` + + - logsBloom: + - items: + - description: `Hex representation of the integer` + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: `string` + + - maxItems: `256` + - minItems: `256` + - type: `array` + - miner: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - - stateRoot: + - mixHash: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - - difficulty: + - nonce: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - mixHash: - - title: `keccak` + - number: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: `string` - - pattern: `^0x[a-fA-F\d]{64}$` - parentHash: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - - sha3Uncles: + - receiptsRoot: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - - size: - - title: `uint64` + - sha3Uncles: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: `string` - - pattern: `^0x([a-fA-F\d])+$` - - timestamp: + - size: - pattern: `^0x([a-fA-F\d])+$` - title: `uint64` - type: `string` - - totalDifficulty: - - title: `integer` - - type: `string` - - pattern: `^0x[a-fA-F0-9]+$` - - - transactionsRoot: + - stateRoot: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - - gasLimit: + - timestamp: + - pattern: `^0x([a-fA-F\d])+$` - title: `uint64` - type: `string` - - pattern: `^0x([a-fA-F\d])+$` - - - logsBloom: - - items: - - title: `integer` - - type: `string` - - description: `Hex representation of the integer` - - pattern: `^0x[a-fA-F0-9]+$` - - - maxItems: `256` - - minItems: `256` - - type: `array` - - nonce: - - title: `integer` - - type: `string` + - totalDifficulty: - pattern: `^0x[a-fA-F0-9]+$` - - - receiptsRoot: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` + - title: `integer` - type: `string` - transactions: @@ -1587,6 +1602,11 @@ fullTx bool - type: `array` + - transactionsRoot: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` + - uncles: - items: - description: `Hex representation of a Keccak 256 hash` @@ -1596,26 +1616,6 @@ fullTx bool - type: `array` - - extraData: - - pattern: `^0x([a-fA-F\d])+$` - - title: `dataWord` - - type: `string` - - - gasUsed: - - pattern: `^0x([a-fA-F\d])+$` - - title: `uint64` - - type: `string` - - - hash: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` - - type: `string` - - - number: - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` - - type: `string` - - type: object @@ -1811,21 +1811,21 @@ number rpc.BlockNumber ``` Schema - - title: `blockNumberIdentifier` - oneOf: + - description: `The block height description` - enum: earliest, latest, pending - - type: string - title: `blockNumberTag` - - description: `The block height description` + - type: string - - title: `uint64` - description: `Hex representation of a uint64` - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` - type: string + - title: `blockNumberIdentifier` ``` @@ -1889,120 +1889,120 @@ fullTx bool - additionalProperties: `false` - properties: + - difficulty: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: `string` + - error: - type: `string` + - extraData: + - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` + - type: `string` + - gasLimit: - pattern: `^0x([a-fA-F\d])+$` - title: `uint64` - type: `string` + - gasUsed: + - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` + - type: `string` + + - hash: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` + - logsBloom: - items: + - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - description: `Hex representation of the integer` - maxItems: `256` - minItems: `256` - type: `array` - - size: - - pattern: `^0x([a-fA-F\d])+$` - - title: `uint64` - - type: `string` - - - timestamp: - - pattern: `^0x([a-fA-F\d])+$` - - title: `uint64` + - miner: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: `string` - - miner: + - mixHash: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - nonce: + - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - pattern: `^0x[a-fA-F0-9]+$` - number: - - type: `string` - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` + - type: `string` - - transactions: - - items: - - additionalProperties: `true` - - - type: `array` - - - sha3Uncles: + - parentHash: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - - totalDifficulty: - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` - - type: `string` - - - uncles: - - type: `array` - - items: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` - - type: `string` - - description: `Hex representation of a Keccak 256 hash` - - - - difficulty: - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` + - receiptsRoot: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: `string` - - extraData: - - pattern: `^0x([a-fA-F\d])+$` - - title: `dataWord` + - sha3Uncles: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: `string` - - gasUsed: + - size: - pattern: `^0x([a-fA-F\d])+$` - title: `uint64` - type: `string` - - mixHash: - - type: `string` - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` - - - receiptsRoot: + - stateRoot: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - - hash: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` + - timestamp: + - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` - type: `string` - - parentHash: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` + - totalDifficulty: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: `string` - - stateRoot: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` - - type: `string` + - transactions: + - items: + - additionalProperties: `true` + + - type: `array` - transactionsRoot: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` + - uncles: + - items: + - description: `Hex representation of a Keccak 256 hash` + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` + + - type: `array` + - type: object @@ -2201,9 +2201,9 @@ blockHash common.Hash ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -2240,9 +2240,9 @@ blockHash common.Hash ``` Schema - - title: `uint` - description: `Hex representation of a uint` - pattern: `^0x([a-fA-F\d])+$` + - title: `uint` - type: string @@ -2318,21 +2318,21 @@ blockNr rpc.BlockNumber ``` Schema - - title: `blockNumberIdentifier` - oneOf: - - title: `blockNumberTag` - description: `The block height description` - enum: earliest, latest, pending + - title: `blockNumberTag` - type: string - - title: `uint64` - description: `Hex representation of a uint64` - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` - type: string + - title: `blockNumberIdentifier` ``` @@ -2385,9 +2385,9 @@ blockNr rpc.BlockNumber ``` Schema - - title: `uint` - description: `Hex representation of a uint` - pattern: `^0x([a-fA-F\d])+$` + - title: `uint` - type: string @@ -2463,9 +2463,9 @@ address common.Address ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash POINTER` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -2513,8 +2513,8 @@ blockNrOrHash rpc.BlockNumberOrHash - description: `Hex representation of some bytes` - pattern: `^0x([a-fA-F\d])+$` - - type: string - title: `dataWord` + - type: string ``` @@ -2702,22 +2702,12 @@ typesLog []*types.Log - additionalProperties: `false` - properties: - - data: - - type: `string` - - pattern: `^0x([a-fA-F0-9]?)+$` - - title: `bytes` - - - logIndex: - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` - - type: `string` - - - transactionHash: + - address: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - - address: + - blockHash: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` @@ -2727,28 +2717,38 @@ typesLog []*types.Log - title: `integer` - type: `string` + - data: + - pattern: `^0x([a-fA-F0-9]?)+$` + - title: `bytes` + - type: `string` + + - logIndex: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: `string` + - removed: - type: `boolean` - topics: - items: + - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - - description: `Hex representation of a Keccak 256 hash` - type: `array` + - transactionHash: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` + - transactionIndex: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - blockHash: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` - - type: `string` - - type: object @@ -2908,9 +2908,9 @@ _None_ ``` Schema - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: string @@ -2984,8 +2984,8 @@ hash common.Hash - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` - - type: string - title: `keccak` + - type: string ``` @@ -3023,10 +3023,20 @@ hash common.Hash - additionalProperties: `false` - properties: + - difficulty: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: `string` + - extraData: + - pattern: `^0x([a-fA-F\d])+$` - title: `dataWord` - type: `string` + + - gasLimit: - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` + - type: `string` - gasUsed: - pattern: `^0x([a-fA-F\d])+$` @@ -3038,86 +3048,76 @@ hash common.Hash - title: `keccak` - type: `string` - - mixHash: - - type: `string` - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` + - logsBloom: + - items: + - description: `Hex representation of the integer` + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: `string` - - nonce: - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` - - type: `string` + - maxItems: `256` + - minItems: `256` + - type: `array` - - parentHash: + - miner: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - - sha3Uncles: + - mixHash: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - - timestamp: - - title: `uint64` - - type: `string` - - pattern: `^0x([a-fA-F\d])+$` - - - difficulty: - - type: `string` + - nonce: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - - - gasLimit: - - pattern: `^0x([a-fA-F\d])+$` - - title: `uint64` - - type: `string` - - - miner: - type: `string` - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` - number: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - totalDifficulty: - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` + - parentHash: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: `string` - - logsBloom: - - items: - - description: `Hex representation of the integer` - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` - - type: `string` - - - maxItems: `256` - - minItems: `256` - - type: `array` - - receiptsRoot: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` + - sha3Uncles: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` + - size: - pattern: `^0x([a-fA-F\d])+$` - title: `uint64` - type: `string` - stateRoot: - - type: `string` - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` + - type: `string` + + - timestamp: + - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` + - type: `string` + + - totalDifficulty: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: `string` - transactionsRoot: + - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - - pattern: `^0x[a-fA-F\d]{64}$` - type: object @@ -3295,15 +3295,15 @@ number rpc.BlockNumber - oneOf: - - title: `blockNumberTag` - description: `The block height description` - enum: earliest, latest, pending + - title: `blockNumberTag` - type: string - - title: `uint64` - description: `Hex representation of a uint64` - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` - type: string @@ -3360,19 +3360,8 @@ number rpc.BlockNumber ``` Schema - - type: object - additionalProperties: `false` - properties: - - miner: - - type: `string` - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` - - - parentHash: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` - - type: `string` - - difficulty: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` @@ -3383,6 +3372,16 @@ number rpc.BlockNumber - title: `dataWord` - type: `string` + - gasLimit: + - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` + - type: `string` + + - gasUsed: + - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` + - type: `string` + - hash: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` @@ -3390,31 +3389,36 @@ number rpc.BlockNumber - logsBloom: - items: + - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - description: `Hex representation of the integer` - maxItems: `256` - minItems: `256` - type: `array` - - gasLimit: - - title: `uint64` + - miner: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: `string` - - pattern: `^0x([a-fA-F\d])+$` - - nonce: + - mixHash: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: `string` + + - nonce: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` + - type: `string` - - totalDifficulty: - - type: `string` + - number: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` + - type: `string` - - transactionsRoot: + - parentHash: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` @@ -3424,6 +3428,11 @@ number rpc.BlockNumber - title: `keccak` - type: `string` + - sha3Uncles: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` + - size: - pattern: `^0x([a-fA-F\d])+$` - title: `uint64` @@ -3439,27 +3448,18 @@ number rpc.BlockNumber - title: `uint64` - type: `string` - - gasUsed: - - title: `uint64` - - type: `string` - - pattern: `^0x([a-fA-F\d])+$` - - - mixHash: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` - - type: `string` - - - number: - - type: `string` + - totalDifficulty: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` + - type: `string` - - sha3Uncles: + - transactionsRoot: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` + - type: object ``` @@ -3640,18 +3640,6 @@ crit FilterCriteria - additionalProperties: `false` - properties: - - Topics: - - items: - - items: - - description: `Hex representation of a Keccak 256 hash` - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` - - type: `string` - - - type: `array` - - - type: `array` - - Addresses: - items: - description: `Hex representation of a Keccak 256 hash POINTER` @@ -3662,9 +3650,9 @@ crit FilterCriteria - type: `array` - BlockHash: - - type: `string` - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` + - type: `string` - FromBlock: - pattern: `^0x[a-fA-F0-9]+$` @@ -3676,6 +3664,18 @@ crit FilterCriteria - title: `integer` - type: `string` + - Topics: + - items: + - items: + - description: `Hex representation of a Keccak 256 hash` + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` + + - type: `array` + + - type: `array` + - type: object @@ -3752,53 +3752,53 @@ typesLog []*types.Log - additionalProperties: `false` - properties: - - removed: - - type: `boolean` - - - topics: - - items: - - type: `string` - - description: `Hex representation of a Keccak 256 hash` - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` - - - type: `array` - - - transactionHash: + - address: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - - data: - - pattern: `^0x([a-fA-F0-9]?)+$` - - title: `bytes` - - type: `string` - - blockHash: + - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - - pattern: `^0x[a-fA-F\d]{64}$` - blockNumber: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - logIndex: - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` + - data: + - pattern: `^0x([a-fA-F0-9]?)+$` + - title: `bytes` - type: `string` - - transactionIndex: + - logIndex: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - address: + - removed: + - type: `boolean` + + - topics: + - items: + - description: `Hex representation of a Keccak 256 hash` + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` + + - type: `array` + + - transactionHash: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` + - transactionIndex: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: `string` + - type: object @@ -3948,9 +3948,9 @@ address common.Address ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash POINTER` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -4083,9 +4083,9 @@ blockNrOrHash rpc.BlockNumberOrHash - type: `array` - value: - - type: `string` - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` + - type: `string` - type: `object` @@ -4246,9 +4246,9 @@ blockHash common.Hash ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -4282,8 +4282,8 @@ index hexutil.Uint - description: `Hex representation of a uint` - pattern: `^0x([a-fA-F\d])+$` - - type: string - title: `uint` + - type: string ``` @@ -4319,10 +4319,10 @@ index hexutil.Uint ``` Schema - - type: string - - title: `dataWord` - description: `Hex representation of some bytes` - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` + - type: string ``` @@ -4396,21 +4396,21 @@ blockNr rpc.BlockNumber ``` Schema - - title: `blockNumberIdentifier` - oneOf: + - description: `The block height description` - enum: earliest, latest, pending - - type: string - title: `blockNumberTag` - - description: `The block height description` + - type: string - - title: `uint64` - description: `Hex representation of a uint64` - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` - type: string + - title: `blockNumberIdentifier` ``` @@ -4458,9 +4458,9 @@ index hexutil.Uint ``` Schema - - title: `uint` - description: `Hex representation of a uint` - pattern: `^0x([a-fA-F\d])+$` + - title: `uint` - type: string @@ -4497,9 +4497,9 @@ index hexutil.Uint ``` Schema - - title: `dataWord` - description: `Hex representation of some bytes` - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` - type: string @@ -4574,9 +4574,9 @@ hash common.Hash ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -4613,9 +4613,9 @@ hash common.Hash ``` Schema - - title: `dataWord` - description: `Hex representation of some bytes` - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` - type: string @@ -4698,9 +4698,9 @@ address common.Address ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash POINTER` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -4755,9 +4755,9 @@ blockNrOrHash rpc.BlockNumberOrHash ``` Schema - - title: `dataWord` - description: `Hex representation of some bytes` - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` - type: string @@ -4836,9 +4836,9 @@ blockHash common.Hash ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -4870,9 +4870,9 @@ index hexutil.Uint ``` Schema - - title: `uint` - description: `Hex representation of a uint` - pattern: `^0x([a-fA-F\d])+$` + - title: `uint` - type: string @@ -4909,15 +4909,11 @@ index hexutil.Uint ``` Schema + - additionalProperties: `false` - properties: - - nonce: - - pattern: `^0x([a-fA-F\d])+$` - - title: `uint64` - - type: `string` - - - r: - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` + - blockHash: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: `string` - blockNumber: @@ -4926,19 +4922,14 @@ index hexutil.Uint - type: `string` - from: - - type: `string` - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - - - s: - type: `string` - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` - gas: + - pattern: `^0x([a-fA-F\d])+$` - title: `uint64` - type: `string` - - pattern: `^0x([a-fA-F\d])+$` - gasPrice: - pattern: `^0x[a-fA-F0-9]+$` @@ -4955,9 +4946,19 @@ index hexutil.Uint - title: `dataWord` - type: `string` - - blockHash: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` + - nonce: + - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` + - type: `string` + + - r: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: `string` + + - s: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: `string` - to: @@ -4982,7 +4983,6 @@ index hexutil.Uint - type: object - - additionalProperties: `false` ``` @@ -5126,21 +5126,21 @@ blockNr rpc.BlockNumber ``` Schema - - title: `blockNumberIdentifier` - oneOf: - - title: `blockNumberTag` - description: `The block height description` - enum: earliest, latest, pending + - title: `blockNumberTag` - type: string - - title: `uint64` - description: `Hex representation of a uint64` - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` - type: string + - title: `blockNumberIdentifier` ``` @@ -5188,9 +5188,9 @@ index hexutil.Uint ``` Schema - - title: `uint` - description: `Hex representation of a uint` - pattern: `^0x([a-fA-F\d])+$` + - title: `uint` - type: string @@ -5230,23 +5230,18 @@ index hexutil.Uint - additionalProperties: `false` - properties: - blockHash: - - type: `string` - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - - - blockNumber: - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` - type: `string` - - r: + - blockNumber: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - v: - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` + - from: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: `string` - gas: @@ -5269,14 +5264,19 @@ index hexutil.Uint - title: `dataWord` - type: `string` - - s: + - nonce: + - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` + - type: `string` + + - r: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - from: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` + - s: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: `string` - to: @@ -5285,14 +5285,14 @@ index hexutil.Uint - type: `string` - transactionIndex: + - pattern: `^0x([a-fA-F\d])+$` - title: `uint64` - type: `string` - - pattern: `^0x([a-fA-F\d])+$` - - nonce: + - v: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: `string` - - pattern: `^0x([a-fA-F\d])+$` - - title: `uint64` - value: - pattern: `^0x[a-fA-F0-9]+$` @@ -5444,9 +5444,9 @@ hash common.Hash ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -5485,54 +5485,49 @@ hash common.Hash - additionalProperties: `false` - properties: + - blockHash: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` + - blockNumber: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - hash: + - from: + - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - - pattern: `^0x[a-fA-F\d]{64}$` - - nonce: + - gas: + - pattern: `^0x([a-fA-F\d])+$` - title: `uint64` - type: `string` - - pattern: `^0x([a-fA-F\d])+$` - - r: + - gasPrice: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - to: - - type: `string` + - hash: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - - - v: - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` - type: `string` - - blockHash: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` + - input: + - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` - type: `string` - - gas: + - nonce: - pattern: `^0x([a-fA-F\d])+$` - title: `uint64` - type: `string` - - input: - - type: `string` - - pattern: `^0x([a-fA-F\d])+$` - - title: `dataWord` - - - from: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` + - r: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: `string` - s: @@ -5540,17 +5535,22 @@ hash common.Hash - title: `integer` - type: `string` + - to: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` + - transactionIndex: + - pattern: `^0x([a-fA-F\d])+$` - title: `uint64` - type: `string` - - pattern: `^0x([a-fA-F\d])+$` - - value: + - v: + - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - pattern: `^0x[a-fA-F0-9]+$` - - gasPrice: + - value: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` @@ -5707,9 +5707,9 @@ address common.Address ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash POINTER` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -5755,9 +5755,9 @@ blockNrOrHash rpc.BlockNumberOrHash ``` Schema - - title: `uint64` - description: `Hex representation of a uint64` - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` - type: string @@ -5841,9 +5841,9 @@ hash common.Hash ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -5987,9 +5987,9 @@ blockHash common.Hash ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -6021,9 +6021,9 @@ index hexutil.Uint ``` Schema - - title: `uint` - description: `Hex representation of a uint` - pattern: `^0x([a-fA-F\d])+$` + - title: `uint` - type: string @@ -6062,31 +6062,28 @@ index hexutil.Uint - additionalProperties: `false` - properties: - - extraData: - - pattern: `^0x([a-fA-F\d])+$` - - title: `dataWord` + - difficulty: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: `string` - - receiptsRoot: + - error: - type: `string` - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` - - stateRoot: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` + - extraData: + - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` - type: `string` - - transactions: - - items: - - additionalProperties: `true` - - - type: `array` + - gasLimit: + - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` + - type: `string` - - difficulty: - - title: `integer` + - gasUsed: + - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` - type: `string` - - pattern: `^0x[a-fA-F0-9]+$` - hash: - pattern: `^0x[a-fA-F\d]{64}$` @@ -6094,7 +6091,6 @@ index hexutil.Uint - type: `string` - logsBloom: - - type: `array` - items: - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` @@ -6103,68 +6099,72 @@ index hexutil.Uint - maxItems: `256` - minItems: `256` + - type: `array` - miner: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: `string` + + - mixHash: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` + - type: `string` + + - nonce: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: `string` + + - number: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: `string` - parentHash: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - - sha3Uncles: + - receiptsRoot: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - - gasLimit: - - title: `uint64` + - sha3Uncles: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: `string` - - pattern: `^0x([a-fA-F\d])+$` - - gasUsed: + - size: - pattern: `^0x([a-fA-F\d])+$` - title: `uint64` - type: `string` - - number: - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` + - stateRoot: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: `string` - timestamp: + - pattern: `^0x([a-fA-F\d])+$` - title: `uint64` - type: `string` - - pattern: `^0x([a-fA-F\d])+$` - totalDifficulty: + - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - pattern: `^0x[a-fA-F0-9]+$` - - transactionsRoot: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` - - type: `string` + - transactions: + - items: + - additionalProperties: `true` - - error: - - type: `string` + - type: `array` - - mixHash: - - type: `string` + - transactionsRoot: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - - - nonce: - - type: `string` - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` - - - size: - - pattern: `^0x([a-fA-F\d])+$` - - title: `uint64` - type: `string` - uncles: @@ -6374,21 +6374,21 @@ blockNr rpc.BlockNumber ``` Schema - - title: `blockNumberIdentifier` - oneOf: - - title: `blockNumberTag` - description: `The block height description` - enum: earliest, latest, pending + - title: `blockNumberTag` - type: string - - title: `uint64` - description: `Hex representation of a uint64` - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` - type: string + - title: `blockNumberIdentifier` ``` @@ -6436,10 +6436,10 @@ index hexutil.Uint ``` Schema - - type: string - - title: `uint` - description: `Hex representation of a uint` - pattern: `^0x([a-fA-F\d])+$` + - title: `uint` + - type: string ``` @@ -6477,86 +6477,74 @@ index hexutil.Uint - additionalProperties: `false` - properties: - - miner: - - title: `keccak` + - difficulty: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: `string` - - pattern: `^0x[a-fA-F\d]{64}$` - - timestamp: + - error: - type: `string` - - pattern: `^0x([a-fA-F\d])+$` - - title: `uint64` - - transactionsRoot: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` + - extraData: + - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` - type: `string` - - difficulty: - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` + - gasLimit: + - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` - type: `string` - - gasLimit: + - gasUsed: - pattern: `^0x([a-fA-F\d])+$` - title: `uint64` - type: `string` - - mixHash: + - hash: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - - nonce: - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` - - type: `string` - - - number: - - type: `string` - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` - - - uncles: - - items: - - description: `Hex representation of a Keccak 256 hash` - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` - - type: `string` - - - type: `array` - - logsBloom: - - type: `array` - items: + - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - description: `Hex representation of the integer` - maxItems: `256` - minItems: `256` + - type: `array` - - parentHash: + - miner: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - - stateRoot: + - mixHash: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - - totalDifficulty: + - nonce: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - transactions: - - items: - - additionalProperties: `true` + - number: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: `string` - - type: `array` + - parentHash: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` + + - receiptsRoot: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` - sha3Uncles: - pattern: `^0x[a-fA-F\d]{64}$` @@ -6568,29 +6556,41 @@ index hexutil.Uint - title: `uint64` - type: `string` - - error: - - type: `string` - - - extraData: - - title: `dataWord` + - stateRoot: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: `string` - - pattern: `^0x([a-fA-F\d])+$` - - gasUsed: + - timestamp: - pattern: `^0x([a-fA-F\d])+$` - title: `uint64` - type: `string` - - hash: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` + - totalDifficulty: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: `string` - - receiptsRoot: + - transactions: + - items: + - additionalProperties: `true` + + - type: `array` + + - transactionsRoot: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` + - uncles: + - items: + - description: `Hex representation of a Keccak 256 hash` + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` + + - type: `array` + - type: object @@ -6788,9 +6788,9 @@ blockHash common.Hash ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -6829,8 +6829,8 @@ blockHash common.Hash - description: `Hex representation of a uint` - pattern: `^0x([a-fA-F\d])+$` - - type: string - title: `uint` + - type: string ``` @@ -6905,21 +6905,21 @@ blockNr rpc.BlockNumber ``` Schema - - title: `blockNumberIdentifier` - oneOf: - - title: `blockNumberTag` - description: `The block height description` - enum: earliest, latest, pending + - title: `blockNumberTag` - type: string - - title: `uint64` - description: `Hex representation of a uint64` - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` - type: string + - title: `blockNumberIdentifier` ``` @@ -6972,9 +6972,9 @@ blockNr rpc.BlockNumber ``` Schema - - title: `uint` - description: `Hex representation of a uint` - pattern: `^0x([a-fA-F\d])+$` + - title: `uint` - type: string @@ -7058,7 +7058,6 @@ num4string [4]string ``` Schema - - type: array - items: - type: string @@ -7066,6 +7065,7 @@ num4string [4]string - maxItems: `4` - minItems: `4` + - type: array ``` @@ -7168,9 +7168,9 @@ _None_ ``` Schema - - title: `uint64` - description: `Hex representation of a uint64` - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` - type: string @@ -7390,42 +7390,42 @@ crit FilterCriteria - additionalProperties: `false` - properties: - - Topics: - - items: - - items: - - description: `Hex representation of a Keccak 256 hash` - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` - - type: `string` - - - type: `array` - - - type: `array` - - Addresses: - items: - - type: `string` - description: `Hex representation of a Keccak 256 hash POINTER` - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` + - type: `string` - type: `array` - BlockHash: - - type: `string` - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` + - type: `string` - FromBlock: + - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - pattern: `^0x[a-fA-F0-9]+$` - ToBlock: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` + - Topics: + - items: + - items: + - description: `Hex representation of a Keccak 256 hash` + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` + + - type: `array` + + - type: `array` + - type: object @@ -7756,35 +7756,19 @@ RPCTransaction []*RPCTransaction - items: - - type: object - additionalProperties: `false` - properties: - - hash: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` - - type: `string` - - - transactionIndex: - - pattern: `^0x([a-fA-F\d])+$` - - title: `uint64` - - type: `string` - - - value: - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` - - type: `string` - - blockHash: + - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - - pattern: `^0x[a-fA-F\d]{64}$` - - r: + - blockNumber: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - to: + - from: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` @@ -7795,16 +7779,11 @@ RPCTransaction []*RPCTransaction - type: `string` - gasPrice: - - type: `string` - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` - - - blockNumber: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - from: + - hash: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` @@ -7819,17 +7798,38 @@ RPCTransaction []*RPCTransaction - title: `uint64` - type: `string` - - s: + - r: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: `string` + + - s: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` + - type: `string` + + - to: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` + + - transactionIndex: + - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` + - type: `string` - v: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` + - value: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: `string` + + - type: object - type: array @@ -8005,9 +8005,9 @@ _None_ ``` Schema - - title: `uint` - description: `Hex representation of a uint` - pattern: `^0x([a-fA-F\d])+$` + - title: `uint` - type: string @@ -8082,10 +8082,20 @@ sendArgs SendTxArgs - additionalProperties: `false` - properties: + - data: + - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` + - type: `string` + + - from: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` + - gas: + - pattern: `^0x([a-fA-F\d])+$` - title: `uint64` - type: `string` - - pattern: `^0x([a-fA-F\d])+$` - gasPrice: - pattern: `^0x[a-fA-F0-9]+$` @@ -8112,16 +8122,6 @@ sendArgs SendTxArgs - title: `integer` - type: `string` - - data: - - pattern: `^0x([a-fA-F\d])+$` - - title: `dataWord` - - type: `string` - - - from: - - title: `keccak` - - type: `string` - - pattern: `^0x[a-fA-F\d]{64}$` - - type: object @@ -8194,9 +8194,9 @@ gasPrice *hexutil.Big ``` Schema - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: string @@ -8228,9 +8228,9 @@ gasLimit *hexutil.Uint64 ``` Schema - - title: `uint64` - description: `Hex representation of a uint64` - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` - type: string @@ -8267,10 +8267,10 @@ gasLimit *hexutil.Uint64 ``` Schema + - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` - - type: string - title: `keccak` - - description: `Hex representation of a Keccak 256 hash` + - type: string ``` @@ -8389,9 +8389,9 @@ encodedTx hexutil.Bytes ``` Schema - - title: `dataWord` - description: `Hex representation of some bytes` - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` - type: string @@ -8428,9 +8428,9 @@ encodedTx hexutil.Bytes ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -8510,20 +8510,30 @@ args SendTxArgs - additionalProperties: `false` - properties: + - data: + - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` + - type: `string` + + - from: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` + - gas: - pattern: `^0x([a-fA-F\d])+$` - title: `uint64` - type: `string` - gasPrice: + - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - pattern: `^0x[a-fA-F0-9]+$` - input: + - pattern: `^0x([a-fA-F\d])+$` - title: `dataWord` - type: `string` - - pattern: `^0x([a-fA-F\d])+$` - nonce: - pattern: `^0x([a-fA-F\d])+$` @@ -8540,16 +8550,6 @@ args SendTxArgs - title: `integer` - type: `string` - - data: - - type: `string` - - pattern: `^0x([a-fA-F\d])+$` - - title: `dataWord` - - - from: - - type: `string` - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` - - type: object @@ -8627,9 +8627,9 @@ args SendTxArgs ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -8727,9 +8727,9 @@ addr common.Address ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash POINTER` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -8761,9 +8761,9 @@ data hexutil.Bytes ``` Schema - - title: `dataWord` - description: `Hex representation of some bytes` - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` - type: string @@ -8800,9 +8800,9 @@ data hexutil.Bytes ``` Schema - - title: `dataWord` - description: `Hex representation of some bytes` - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` - type: string @@ -8895,6 +8895,16 @@ args SendTxArgs - additionalProperties: `false` - properties: + - data: + - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` + - type: `string` + + - from: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` + - gas: - pattern: `^0x([a-fA-F\d])+$` - title: `uint64` @@ -8925,16 +8935,6 @@ args SendTxArgs - title: `integer` - type: `string` - - data: - - pattern: `^0x([a-fA-F\d])+$` - - title: `dataWord` - - type: `string` - - - from: - - title: `keccak` - - type: `string` - - pattern: `^0x[a-fA-F\d]{64}$` - - type: object @@ -9134,10 +9134,10 @@ rate hexutil.Uint64 ``` Schema + - description: `Hex representation of a uint64` - pattern: `^0x([a-fA-F\d])+$` - - type: string - title: `uint64` - - description: `Hex representation of a uint64` + - type: string ``` @@ -9168,10 +9168,10 @@ id common.Hash ``` Schema - - type: string - - title: `keccak` - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: string ``` @@ -9273,9 +9273,9 @@ nonce types.BlockNonce ``` Schema - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: string @@ -9307,9 +9307,9 @@ hash common.Hash ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -9341,9 +9341,9 @@ digest common.Hash ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string diff --git a/docs/JSON-RPC-API/modules/ethash.md b/docs/JSON-RPC-API/modules/ethash.md index 3a0d4ce7a3..ae5a52e2e9 100755 --- a/docs/JSON-RPC-API/modules/ethash.md +++ b/docs/JSON-RPC-API/modules/ethash.md @@ -7,7 +7,7 @@ | Entity | Version | | --- | --- | -| Source | 1.11.22-unstable/generated-at:2021-01-22T08:53:19-06:00 | +| Source | 1.11.22-unstable/generated-at:2021-01-23T04:35:53-06:00 | | OpenRPC | 1.2.6 | --- @@ -38,9 +38,9 @@ _None_ ``` Schema - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: string @@ -120,7 +120,6 @@ num4string [4]string ``` Schema - - type: array - items: - type: string @@ -128,6 +127,7 @@ num4string [4]string - maxItems: `4` - minItems: `4` + - type: array ``` @@ -232,9 +232,9 @@ rate hexutil.Uint64 ``` Schema - - title: `uint64` - description: `Hex representation of a uint64` - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` - type: string @@ -266,9 +266,9 @@ id common.Hash ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -373,8 +373,8 @@ nonce types.BlockNonce - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` - - type: string - title: `integer` + - type: string ``` @@ -405,9 +405,9 @@ hash common.Hash ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -441,8 +441,8 @@ digest common.Hash - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` - - type: string - title: `keccak` + - type: string ``` diff --git a/docs/JSON-RPC-API/modules/miner.md b/docs/JSON-RPC-API/modules/miner.md index 21da94e65a..fd91ba73ab 100755 --- a/docs/JSON-RPC-API/modules/miner.md +++ b/docs/JSON-RPC-API/modules/miner.md @@ -7,7 +7,7 @@ | Entity | Version | | --- | --- | -| Source | 1.11.22-unstable/generated-at:2021-01-22T08:53:19-06:00 | +| Source | 1.11.22-unstable/generated-at:2021-01-23T04:35:53-06:00 | | OpenRPC | 1.2.6 | --- @@ -38,9 +38,9 @@ _None_ ``` Schema - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: string @@ -112,9 +112,9 @@ etherbase common.Address ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash POINTER` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -267,10 +267,10 @@ gasPrice hexutil.Big ``` Schema - - type: string - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: string ``` @@ -359,9 +359,9 @@ interval int ``` Schema - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: string @@ -445,8 +445,8 @@ threads *int - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` - - type: string - title: `integer` + - type: string ``` diff --git a/docs/JSON-RPC-API/modules/net.md b/docs/JSON-RPC-API/modules/net.md index 6a0f4ea744..e51704bcb5 100755 --- a/docs/JSON-RPC-API/modules/net.md +++ b/docs/JSON-RPC-API/modules/net.md @@ -7,7 +7,7 @@ | Entity | Version | | --- | --- | -| Source | 1.11.22-unstable/generated-at:2021-01-22T08:53:19-06:00 | +| Source | 1.11.22-unstable/generated-at:2021-01-23T04:35:53-06:00 | | OpenRPC | 1.2.6 | --- @@ -92,8 +92,8 @@ _None_ - description: `Hex representation of a uint` - pattern: `^0x([a-fA-F\d])+$` - - type: string - title: `uint` + - type: string ``` diff --git a/docs/JSON-RPC-API/modules/personal.md b/docs/JSON-RPC-API/modules/personal.md index e9a54d7975..8f42f9a7e5 100755 --- a/docs/JSON-RPC-API/modules/personal.md +++ b/docs/JSON-RPC-API/modules/personal.md @@ -7,7 +7,7 @@ | Entity | Version | | --- | --- | -| Source | 1.11.22-unstable/generated-at:2021-01-22T08:53:19-06:00 | +| Source | 1.11.22-unstable/generated-at:2021-01-23T04:35:53-06:00 | | OpenRPC | 1.2.6 | --- @@ -68,10 +68,15 @@ pin *bool ``` Schema - - type: object - additionalProperties: `false` - properties: + - address: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` + - url: + - additionalProperties: `false` - properties: - Path: - type: `string` @@ -81,14 +86,9 @@ pin *bool - type: `object` - - additionalProperties: `false` - - - address: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` - - type: `string` + - type: object ``` @@ -197,9 +197,9 @@ data hexutil.Bytes ``` Schema - - title: `dataWord` - description: `Hex representation of some bytes` - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` - type: string @@ -231,9 +231,9 @@ sig hexutil.Bytes ``` Schema - - title: `dataWord` - description: `Hex representation of some bytes` - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` - type: string @@ -270,10 +270,10 @@ sig hexutil.Bytes ``` Schema - - type: string - - title: `keccak` - description: `Hex representation of a Keccak 256 hash POINTER` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: string ``` @@ -388,9 +388,9 @@ password string ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash POINTER` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -557,9 +557,9 @@ commonAddress []common.Address - items: - - title: `keccak` - description: `Hex representation of a Keccak 256 hash POINTER` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -645,14 +645,9 @@ rawWallet []rawWallet - items: - - type: object - additionalProperties: `false` - properties: - - url: - - type: `string` - - accounts: - - type: `array` - items: - additionalProperties: `false` - properties: @@ -662,6 +657,7 @@ rawWallet []rawWallet - type: `string` - url: + - additionalProperties: `false` - properties: - Path: - type: `string` @@ -671,11 +667,11 @@ rawWallet []rawWallet - type: `object` - - additionalProperties: `false` - type: `object` + - type: `array` - failure: - type: `string` @@ -683,8 +679,12 @@ rawWallet []rawWallet - status: - type: `string` + - url: + - type: `string` + - type: object + - type: array @@ -808,10 +808,10 @@ addr common.Address ``` Schema - - type: string - - title: `keccak` - description: `Hex representation of a Keccak 256 hash POINTER` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: string ``` @@ -913,10 +913,10 @@ password string ``` Schema + - description: `Hex representation of a Keccak 256 hash POINTER` - pattern: `^0x[a-fA-F\d]{64}$` - - type: string - title: `keccak` - - description: `Hex representation of a Keccak 256 hash POINTER` + - type: string ``` @@ -1080,25 +1080,20 @@ args SendTxArgs - additionalProperties: `false` - properties: - - value: - - type: `string` - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` - - data: - pattern: `^0x([a-fA-F\d])+$` - title: `dataWord` - type: `string` - from: + - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - - pattern: `^0x[a-fA-F\d]{64}$` - gas: - - type: `string` - pattern: `^0x([a-fA-F\d])+$` - title: `uint64` + - type: `string` - gasPrice: - pattern: `^0x[a-fA-F0-9]+$` @@ -1106,9 +1101,9 @@ args SendTxArgs - type: `string` - input: - - type: `string` - pattern: `^0x([a-fA-F\d])+$` - title: `dataWord` + - type: `string` - nonce: - pattern: `^0x([a-fA-F\d])+$` @@ -1120,6 +1115,11 @@ args SendTxArgs - title: `keccak` - type: `string` + - value: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: `string` + - type: object @@ -1206,10 +1206,10 @@ passwd string ``` Schema + - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` - - type: string - title: `keccak` - - description: `Hex representation of a Keccak 256 hash` + - type: string ``` @@ -1301,8 +1301,8 @@ data hexutil.Bytes - description: `Hex representation of some bytes` - pattern: `^0x([a-fA-F\d])+$` - - type: string - title: `dataWord` + - type: string ``` @@ -1333,9 +1333,9 @@ addr common.Address ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash POINTER` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -1381,9 +1381,9 @@ passwd string ``` Schema - - title: `dataWord` - description: `Hex representation of some bytes` - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` - type: string @@ -1475,7 +1475,6 @@ args SendTxArgs ``` Schema - - type: object - additionalProperties: `false` - properties: - data: @@ -1499,14 +1498,14 @@ args SendTxArgs - type: `string` - input: - - type: `string` - pattern: `^0x([a-fA-F\d])+$` - title: `dataWord` + - type: `string` - nonce: + - pattern: `^0x([a-fA-F\d])+$` - title: `uint64` - type: `string` - - pattern: `^0x([a-fA-F\d])+$` - to: - pattern: `^0x[a-fA-F\d]{64}$` @@ -1519,6 +1518,7 @@ args SendTxArgs - type: `string` + - type: object ``` @@ -1603,9 +1603,9 @@ passwd string ``` Schema - - title: `keccak` - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: string @@ -1683,6 +1683,21 @@ args SendTxArgs - additionalProperties: `false` - properties: + - data: + - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` + - type: `string` + + - from: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` + + - gas: + - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` + - type: `string` + - gasPrice: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` @@ -1694,9 +1709,9 @@ args SendTxArgs - type: `string` - nonce: + - pattern: `^0x([a-fA-F\d])+$` - title: `uint64` - type: `string` - - pattern: `^0x([a-fA-F\d])+$` - to: - pattern: `^0x[a-fA-F\d]{64}$` @@ -1708,21 +1723,6 @@ args SendTxArgs - title: `integer` - type: `string` - - data: - - pattern: `^0x([a-fA-F\d])+$` - - title: `dataWord` - - type: `string` - - - from: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` - - type: `string` - - - gas: - - title: `uint64` - - type: `string` - - pattern: `^0x([a-fA-F\d])+$` - - type: object @@ -1817,8 +1817,8 @@ passwd string - type: `string` - tx: - - type: `object` - additionalProperties: `false` + - type: `object` - type: object @@ -1927,10 +1927,10 @@ addr common.Address ``` Schema + - description: `Hex representation of a Keccak 256 hash POINTER` - pattern: `^0x[a-fA-F\d]{64}$` - - type: string - title: `keccak` - - description: `Hex representation of a Keccak 256 hash POINTER` + - type: string ``` @@ -1970,9 +1970,9 @@ duration *uint64 ``` Schema - - title: `integer` - description: `Hex representation of the integer` - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: string diff --git a/docs/JSON-RPC-API/modules/trace.md b/docs/JSON-RPC-API/modules/trace.md index 094de77734..c4833224e5 100755 --- a/docs/JSON-RPC-API/modules/trace.md +++ b/docs/JSON-RPC-API/modules/trace.md @@ -7,7 +7,7 @@ | Entity | Version | | --- | --- | -| Source | 1.11.22-unstable/generated-at:2021-01-22T08:53:19-06:00 | +| Source | 1.11.22-unstable/generated-at:2021-01-23T04:35:53-06:00 | | OpenRPC | 1.2.6 | --- @@ -37,21 +37,21 @@ number rpc.BlockNumber ``` Schema - - title: `blockNumberIdentifier` - oneOf: - - type: string - - title: `blockNumberTag` - description: `The block height description` - enum: earliest, latest, pending + - title: `blockNumberTag` + - type: string - - title: `uint64` - description: `Hex representation of a uint64` - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` - type: string + - title: `blockNumberIdentifier` ``` @@ -99,44 +99,44 @@ config *TraceConfig ``` Schema - - type: object - additionalProperties: `false` - properties: + - Debug: + - type: `boolean` + + - DisableMemory: + - type: `boolean` + + - DisableReturnData: + - type: `boolean` + + - DisableStack: + - type: `boolean` + + - DisableStorage: + - type: `boolean` + - Limit: - - type: `string` - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` + - type: `string` - Reexec: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` + - Timeout: + - type: `string` + - Tracer: - type: `string` - overrides: - additionalProperties: `true` - - DisableMemory: - - type: `boolean` - - - DisableStorage: - - type: `boolean` - - - DisableStack: - - type: `boolean` - - - Timeout: - - type: `string` - - - Debug: - - type: `boolean` - - - DisableReturnData: - - type: `boolean` - + - type: object ``` @@ -324,10 +324,20 @@ args ethapi.CallArgs - additionalProperties: `false` - properties: + - data: + - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` + - type: `string` + + - from: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: `string` + - gas: + - pattern: `^0x([a-fA-F\d])+$` - title: `uint64` - type: `string` - - pattern: `^0x([a-fA-F\d])+$` - gasPrice: - pattern: `^0x[a-fA-F0-9]+$` @@ -344,16 +354,6 @@ args ethapi.CallArgs - title: `integer` - type: `string` - - data: - - pattern: `^0x([a-fA-F\d])+$` - - title: `dataWord` - - type: `string` - - - from: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` - - type: `string` - - type: object @@ -418,19 +418,14 @@ config *TraceConfig - additionalProperties: `false` - properties: - - Timeout: - - type: `string` - - - Tracer: - - type: `string` - - Debug: - type: `boolean` - - Limit: - - title: `integer` - - type: `string` - - pattern: `^0x[a-fA-F0-9]+$` + - DisableMemory: + - type: `boolean` + + - DisableReturnData: + - type: `boolean` - DisableStack: - type: `boolean` @@ -438,19 +433,24 @@ config *TraceConfig - DisableStorage: - type: `boolean` + - Limit: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` + - type: `string` + - Reexec: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - overrides: - - additionalProperties: `true` + - Timeout: + - type: `string` - - DisableMemory: - - type: `boolean` + - Tracer: + - type: `string` - - DisableReturnData: - - type: `boolean` + - overrides: + - additionalProperties: `true` - type: object @@ -620,10 +620,10 @@ hash common.Hash ``` Schema - - type: string - - title: `keccak` - description: `Hex representation of a Keccak 256 hash` - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` + - type: string ``` @@ -656,9 +656,15 @@ config *TraceConfig - additionalProperties: `false` - properties: + - Debug: + - type: `boolean` + - DisableMemory: - type: `boolean` + - DisableReturnData: + - type: `boolean` + - DisableStack: - type: `boolean` @@ -675,12 +681,6 @@ config *TraceConfig - title: `integer` - type: `string` - - Debug: - - type: `boolean` - - - DisableReturnData: - - type: `boolean` - - Timeout: - type: `string` diff --git a/docs/JSON-RPC-API/modules/txpool.md b/docs/JSON-RPC-API/modules/txpool.md index 06470a6360..a67cb63aa7 100755 --- a/docs/JSON-RPC-API/modules/txpool.md +++ b/docs/JSON-RPC-API/modules/txpool.md @@ -7,7 +7,7 @@ | Entity | Version | | --- | --- | -| Source | 1.11.22-unstable/generated-at:2021-01-22T08:53:19-06:00 | +| Source | 1.11.22-unstable/generated-at:2021-01-23T04:35:53-06:00 | | OpenRPC | 1.2.6 | --- @@ -45,59 +45,59 @@ mapstringmapstringmapstringRPCTransaction map[string]map[string]map[string - .*: - additionalProperties: `false` - properties: - - input: - - pattern: `^0x([a-fA-F\d])+$` - - title: `dataWord` + - blockHash: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: `string` - - r: + - blockNumber: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - s: - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` + - from: + - pattern: `^0x[a-fA-F\d]{64}$` + - title: `keccak` - type: `string` - - value: + - gas: + - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` + - type: `string` + + - gasPrice: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - from: + - hash: - pattern: `^0x[a-fA-F\d]{64}$` - title: `keccak` - type: `string` - - hash: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` + - input: + - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` - type: `string` - - blockNumber: - - pattern: `^0x[a-fA-F0-9]+$` - - title: `integer` + - nonce: + - pattern: `^0x([a-fA-F\d])+$` + - title: `uint64` - type: `string` - - v: + - r: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - - gasPrice: + - s: - pattern: `^0x[a-fA-F0-9]+$` - title: `integer` - type: `string` - to: - - title: `keccak` - - type: `string` - pattern: `^0x[a-fA-F\d]{64}$` - - - nonce: - - pattern: `^0x([a-fA-F\d])+$` - - title: `uint64` + - title: `keccak` - type: `string` - transactionIndex: @@ -105,14 +105,14 @@ mapstringmapstringmapstringRPCTransaction map[string]map[string]map[string - title: `uint64` - type: `string` - - blockHash: - - pattern: `^0x[a-fA-F\d]{64}$` - - title: `keccak` + - v: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: `string` - - gas: - - pattern: `^0x([a-fA-F\d])+$` - - title: `uint64` + - value: + - pattern: `^0x[a-fA-F0-9]+$` + - title: `integer` - type: `string` diff --git a/docs/JSON-RPC-API/modules/web3.md b/docs/JSON-RPC-API/modules/web3.md index d3f717ded4..07bea14a7c 100755 --- a/docs/JSON-RPC-API/modules/web3.md +++ b/docs/JSON-RPC-API/modules/web3.md @@ -7,7 +7,7 @@ | Entity | Version | | --- | --- | -| Source | 1.11.22-unstable/generated-at:2021-01-22T08:53:19-06:00 | +| Source | 1.11.22-unstable/generated-at:2021-01-23T04:35:53-06:00 | | OpenRPC | 1.2.6 | --- @@ -88,10 +88,10 @@ input hexutil.Bytes ``` Schema - - type: string - - title: `dataWord` - description: `Hex representation of some bytes` - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` + - type: string ``` @@ -127,9 +127,9 @@ input hexutil.Bytes ``` Schema - - title: `dataWord` - description: `Hex representation of some bytes` - pattern: `^0x([a-fA-F\d])+$` + - title: `dataWord` - type: string diff --git a/ethclient/docsgen_test.go b/ethclient/docsgen_test.go index bef92c7c8f..6747896b44 100644 --- a/ethclient/docsgen_test.go +++ b/ethclient/docsgen_test.go @@ -5,6 +5,7 @@ import ( "fmt" "io/ioutil" "os" + "sort" "strings" "testing" "text/template" @@ -267,7 +268,15 @@ func printBullet(any interface{}, depth int) (out string) { switch typ := any.(type) { case map[string]interface{}: out += "\n" - for k, v := range typ { + ordered := []string{} + for k := range typ { + ordered = append(ordered, k) + } + sort.Slice(ordered, func(i, j int) bool { + return ordered[i] < ordered[j] + }) + for _, k := range ordered { + v := typ[k] out += fmt.Sprintf("%s- %s: %s", strings.Repeat("\t", depth), k, printBullet(v, depth+1)) } case []interface{}: