Skip to content

Commit 1729448

Browse files
authored
Merge pull request #9734 from davidmurdoch/patch-1
the `type` field in `eth_getTransactionReceipt` should return a QUANTITY
2 parents f641eeb + 8ba3aa5 commit 1729448

File tree

1 file changed

+1
-1
lines changed
  • src/content/developers/docs/apis/json-rpc

1 file changed

+1
-1
lines changed

src/content/developers/docs/apis/json-rpc/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1246,7 +1246,7 @@ params: ["0x85d995eba9763907fdf35cd2034144dd9d53ce32cbec21349d4b12823c6860c5"]
12461246
- `contractAddress `: `DATA`, 20 Bytes - The contract address created, if the transaction was a contract creation, otherwise `null`.
12471247
- `logs`: `Array` - Array of log objects, which this transaction generated.
12481248
- `logsBloom`: `DATA`, 256 Bytes - Bloom filter for light clients to quickly retrieve related logs.
1249-
- `type`: `DATA` - integer of the transaction type, `0x00` for legacy transactions, `0x01` for access list types, `0x02` for dynamic fees.
1249+
- `type`: `QUANTITY` - integer of the transaction type, `0x0` for legacy transactions, `0x1` for access list types, `0x2` for dynamic fees.
12501250
It also returns _either_ :
12511251
- `root` : `DATA` 32 bytes of post-transaction stateroot (pre Byzantium)
12521252
- `status`: `QUANTITY` either `1` (success) or `0` (failure)

0 commit comments

Comments
 (0)