-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexamples.txt
23 lines (16 loc) · 834 Bytes
/
examples.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#An example call to the public node https://zec.getblock.io/e7a92777-136d-4d0b-9eea-1ad3aea31b37/mainnet/
curl --location --request POST 'https://zec.getblock.io/e7a92777-136d-4d0b-9eea-1ad3aea31b37/mainnet/' --header 'e7a92777-136d-4d0b-9eea-1ad3aea31b37;' --header 'Content-Type: application/json' --data-raw '{
"jsonrpc": "2.0",
"id": "getblock.io",
"method": "getrawtransaction",
"params": [
"65d821debf4fbe63e7806299018c927677185691c9daa6560c444aa2bc853378",
1
]
}' | json_pp
curl --location --request POST 'https://zec.getblock.io/e7a92777-136d-4d0b-9eea-1ad3aea31b37/mainnet/' --header 'e7a92777-136d-4d0b-9eea-1ad3aea31b37;' --header 'Content-Type: application/json' --data-raw '{
"jsonrpc": "2.0",
"id": "getblock.io",
"method": "getinfo",
"params": []
}' | json_pp