-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathweb3_sha3.http
More file actions
43 lines (31 loc) · 774 Bytes
/
web3_sha3.http
File metadata and controls
43 lines (31 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
###
POST {{rpc-url}} HTTP/1.1
{ "method": "web3_sha3", "id": 7, "jsonrpc": "2.0", "params": [
"0x01020304"
] }
###
POST {{rpc-url}}{{$processEnv %apiKey}} HTTP/1.1
{ "method": "web3_sha3", "id": 7, "jsonrpc": "2.0", "params": [
"0x01020304",
"0x811364"
] }
###
POST {{rpc-url}} HTTP/1.1
{ "method": "web3_sha3", "id": 7, "jsonrpc": "2.0", "params": [
"0x"
] }
###
POST {{rpc-url}} HTTP/1.1
{ "method": "web3_sha3", "id": 7, "jsonrpc": "2.0", "params": [
"invalid hex string"
] }
###
POST {{rpc-url}} HTTP/1.1
{ "method": "web3_sha3", "id": 7, "jsonrpc": "2.0", "params": [
"0xinvalid hex string"
] }
### odd length hex string error
POST {{rpc-url}} HTTP/1.1
{ "method": "web3_sha3", "id": 7, "jsonrpc": "2.0", "params": [
"0x123"
] }