You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When requests are made that act on the state of Ethereum, the last default block parameter determines the height of the block.
71
+
When requests are made that query the state of Ethereum, the provided block parameter determines the height of the block.
72
72
73
-
The following options are possible for the defaultBlock parameter:
73
+
The following options are possible for the block parameter:
74
74
75
75
-`HEX String` - an integer block number
76
76
-`String "earliest"` for the earliest/genesis block
@@ -567,7 +567,7 @@ Returns the balance of the account of given address.
567
567
**Parameters**
568
568
569
569
1.`DATA`, 20 Bytes - address to check for balance.
570
-
2.`QUANTITY|TAG` - integer block number, or the string `"latest"`, `"earliest"`, `"pending"`, `"safe"`, or `"finalized"`, see the [default block parameter](/developers/docs/apis/json-rpc/#default-block)
570
+
2.`QUANTITY|TAG` - integer block number, or the string `"latest"`, `"earliest"`, `"pending"`, `"safe"`, or `"finalized"`, see the [block parameter](/developers/docs/apis/json-rpc/#block-parameter)
@@ -598,7 +598,7 @@ Returns the value from a storage position at a given address.
598
598
599
599
1.`DATA`, 20 Bytes - address of the storage.
600
600
2.`QUANTITY` - integer of the position in the storage.
601
-
3.`QUANTITY|TAG` - integer block number, or the string `"latest"`, `"earliest"`, `"pending"`, `"safe"`, `"finalized"`, see the [default block parameter](/developers/docs/apis/json-rpc/#default-block)
601
+
3.`QUANTITY|TAG` - integer block number, or the string `"latest"`, `"earliest"`, `"pending"`, `"safe"`, `"finalized"`, see the [block parameter](/developers/docs/apis/json-rpc/#block-parameter)
602
602
603
603
**Returns**
604
604
@@ -665,7 +665,7 @@ Returns the number of transactions _sent_ from an address.
665
665
**Parameters**
666
666
667
667
1.`DATA`, 20 Bytes - address.
668
-
2.`QUANTITY|TAG` - integer block number, or the string `"latest"`, `"earliest"`, `"pending"`, `"safe"` or `"finalized"`, see the [default block parameter](/developers/docs/apis/json-rpc/#default-block)
668
+
2.`QUANTITY|TAG` - integer block number, or the string `"latest"`, `"earliest"`, `"pending"`, `"safe"` or `"finalized"`, see the [block parameter](/developers/docs/apis/json-rpc/#block-parameter)
669
669
670
670
```js
671
671
params: [
@@ -726,7 +726,7 @@ Returns the number of transactions in a block matching the given block number.
726
726
727
727
**Parameters**
728
728
729
-
1.`QUANTITY|TAG` - integer of a block number, or the string `"earliest"`, `"latest"`, `"pending"`, `"safe"` or `"finalized"`, as in the [default block parameter](/developers/docs/apis/json-rpc/#default-block).
729
+
1.`QUANTITY|TAG` - integer of a block number, or the string `"earliest"`, `"latest"`, `"pending"`, `"safe"` or `"finalized"`, as in the [block parameter](/developers/docs/apis/json-rpc/#block-parameter).
730
730
731
731
```js
732
732
params: [
@@ -786,7 +786,7 @@ Returns the number of uncles in a block from a block matching the given block nu
786
786
787
787
**Parameters**
788
788
789
-
1.`QUANTITY|TAG` - integer of a block number, or the string `"latest"`, `"earliest"`, `"pending"`, `"safe"` or `"finalized"`, see the [default block parameter](/developers/docs/apis/json-rpc/#default-block)
789
+
1.`QUANTITY|TAG` - integer of a block number, or the string `"latest"`, `"earliest"`, `"pending"`, `"safe"` or `"finalized"`, see the [block parameter](/developers/docs/apis/json-rpc/#block-parameter)
790
790
791
791
```js
792
792
params: [
@@ -818,7 +818,7 @@ Returns code at a given address.
818
818
**Parameters**
819
819
820
820
1.`DATA`, 20 Bytes - address
821
-
2.`QUANTITY|TAG` - integer block number, or the string `"latest"`, `"earliest"`, `"pending"`, `"safe"` or `"finalized"`, see the [default block parameter](/developers/docs/apis/json-rpc/#default-block)
821
+
2.`QUANTITY|TAG` - integer block number, or the string `"latest"`, `"earliest"`, `"pending"`, `"safe"` or `"finalized"`, see the [block parameter](/developers/docs/apis/json-rpc/#block-parameter)
822
822
823
823
```js
824
824
params: [
@@ -1005,7 +1005,7 @@ Executes a new message call immediately without creating a transaction on the bl
1005
1005
-`value`: `QUANTITY` - (optional) Integer of the value sent with this transaction
1006
1006
-`input`: `DATA` - (optional) Hash of the method signature and encoded parameters. For details see [Ethereum Contract ABI in the Solidity documentation](https://docs.soliditylang.org/en/latest/abi-spec.html).
1007
1007
1008
-
2.`QUANTITY|TAG` - integer block number, or the string `"latest"`, `"earliest"`, `"pending"`, `"safe"` or `"finalized"`, see the [default block parameter](/developers/docs/apis/json-rpc/#default-block)
1008
+
2.`QUANTITY|TAG` - integer block number, or the string `"latest"`, `"earliest"`, `"pending"`, `"safe"` or `"finalized"`, see the [block parameter](/developers/docs/apis/json-rpc/#block-parameter)
1009
1009
1010
1010
**Returns**
1011
1011
@@ -1132,7 +1132,7 @@ Returns information about a block by block number.
1132
1132
1133
1133
**Parameters**
1134
1134
1135
-
1. `QUANTITY|TAG` - integer of a block number, or the string `"earliest"`, `"latest"`, `"pending"`, `"safe"` or `"finalized"`, as in the [default block parameter](/developers/docs/apis/json-rpc/#default-block).
1135
+
1. `QUANTITY|TAG` - integer of a block number, or the string `"earliest"`, `"latest"`, `"pending"`, `"safe"` or `"finalized"`, as in the [block parameter](/developers/docs/apis/json-rpc/#block-parameter).
1136
1136
2. `Boolean` - If `true` it returns the full transaction objects, if `false` only the hashes of the transactions.
1137
1137
1138
1138
```js
@@ -1247,7 +1247,7 @@ Returns information about a transaction by block number and transaction index po
1247
1247
1248
1248
**Parameters**
1249
1249
1250
-
1. `QUANTITY|TAG` - a block number, or the string `"earliest"`, `"latest"`, `"pending"`, `"safe"` or `"finalized"`, as in the [default block parameter](/developers/docs/apis/json-rpc/#default-block).
1250
+
1. `QUANTITY|TAG` - a block number, or the string `"earliest"`, `"latest"`, `"pending"`, `"safe"` or `"finalized"`, as in the [block parameter](/developers/docs/apis/json-rpc/#block-parameter).
1251
1251
2. `QUANTITY` - the transaction index position.
1252
1252
1253
1253
```js
@@ -1373,7 +1373,7 @@ Returns information about a uncle of a block by number and uncle index position.
1373
1373
1374
1374
**Parameters**
1375
1375
1376
-
1. `QUANTITY|TAG` - a block number, or the string `"earliest"`, `"latest"`, `"pending"`, `"safe"`, `"finalized"`, as in the [default block parameter](/developers/docs/apis/json-rpc/#default-block).
1376
+
1. `QUANTITY|TAG` - a block number, or the string `"earliest"`, `"latest"`, `"pending"`, `"safe"`, `"finalized"`, as in the [block parameter](/developers/docs/apis/json-rpc/#block-parameter).
0 commit comments