Created
August 16, 2022 17:03
-
-
Save ethDreamer/0a59c6b09f78844669655ebf0987c9fb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@25c70e4d4c15:/home/beacon/run# PUBKEY1=0x810761e15a24fe47f6032658920063f74d7cc818d4138a25b1df7508fe0728295b52881b20325d99db4dbdcb59e9f7f3 | |
root@25c70e4d4c15:/home/beacon/run# PUBKEY2=0xad2d9abf715412b5b4b7fad0e671d988dc170877bca0efe81fd438f6b52a41bb50b1c1ce8220ca0e7d892b4653a75a1e | |
root@25c70e4d4c15:/home/beacon/run# PUBKEY3=0x80395f593e4a71b789942ddad6f85eb05d458f060acf37fedde1257d59493fa484aa64451af9b352c3091cd6ffeb2528 | |
root@25c70e4d4c15:/home/beacon/run# FEE_RECIPIENT2=0x0000000000000000000000000000000000000000 | |
root@25c70e4d4c15:/home/beacon/run# FEE_RECIPIENT3=0x4242424242424242424242424242424242424242 | |
root@25c70e4d4c15:/home/beacon/run# curl -X GET -H "Authorization: Bearer $(cat ${DATADIR}/validators/api-token.txt)" -H "Content-Type: application/json" http://localhost:5062/eth/v1/validator/${PUBKEY1}/feerecipient | jq | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 178 100 178 0 0 55313 0 --:--:-- --:--:-- --:--:-- 59333 | |
{ | |
"data": { | |
"pubkey": "0x810761e15a24fe47f6032658920063f74d7cc818d4138a25b1df7508fe0728295b52881b20325d99db4dbdcb59e9f7f3", | |
"ethaddress": "0xd50e1ec0d744a0d63d476d3f6fc2aaf4e234f06a" | |
} | |
} | |
root@25c70e4d4c15:/home/beacon/run# curl -X GET -H "Authorization: Bearer $(cat ${DATADIR}/validators/api-token.txt)" -H "Content-Type: application/json" http://localhost:5062/eth/v1/validator/${PUBKEY2}/feerecipient | jq | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 178 100 178 0 0 206k 0 --:--:-- --:--:-- --:--:-- 173k | |
{ | |
"data": { | |
"pubkey": "0xad2d9abf715412b5b4b7fad0e671d988dc170877bca0efe81fd438f6b52a41bb50b1c1ce8220ca0e7d892b4653a75a1e", | |
"ethaddress": "0xd50e1ec0d744a0d63d476d3f6fc2aaf4e234f06a" | |
} | |
} | |
root@25c70e4d4c15:/home/beacon/run# curl -X GET -H "Authorization: Bearer $(cat ${DATADIR}/validators/api-token.txt)" -H "Content-Type: application/json" http://localhost:5062/eth/v1/validator/${PUBKEY3}/feerecipient | jq | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 178 100 178 0 0 226k 0 --:--:-- --:--:-- --:--:-- 173k | |
{ | |
"data": { | |
"pubkey": "0x80395f593e4a71b789942ddad6f85eb05d458f060acf37fedde1257d59493fa484aa64451af9b352c3091cd6ffeb2528", | |
"ethaddress": "0xd50e1ec0d744a0d63d476d3f6fc2aaf4e234f06a" | |
} | |
} | |
root@25c70e4d4c15:/home/beacon/run# curl -X POST -H "Authorization: Bearer $(cat ${DATADIR}/validators/api-token.txt)" -H "Content-Type: application/json" -d "{ \"ethaddress\": \"${FEE_RECIPIENT2}\" }" http://localhost:5062/eth/v1/validator/${PUBKEY2}/feerecipient | jq | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 66 100 4 100 62 118 1833 --:--:-- --:--:-- --:--:-- 2000 | |
null | |
root@25c70e4d4c15:/home/beacon/run# curl -X GET -H "Authorization: Bearer $(cat ${DATADIR}/validators/api-token.txt)" -H "Content-Type: application/json" http://localhost:5062/eth/v1/validator/${PUBKEY2}/feerecipient | jq | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 178 100 178 0 0 289k 0 --:--:-- --:--:-- --:--:-- 173k | |
{ | |
"data": { | |
"pubkey": "0xad2d9abf715412b5b4b7fad0e671d988dc170877bca0efe81fd438f6b52a41bb50b1c1ce8220ca0e7d892b4653a75a1e", | |
"ethaddress": "0x0000000000000000000000000000000000000000" | |
} | |
} | |
root@25c70e4d4c15:/home/beacon/run# curl -X GET -H "Authorization: Bearer $(cat ${DATADIR}/validators/api-token.txt)" -H "Content-Type: application/json" http://localhost:5062/eth/v1/validator/${PUBKEY3}/feerecipient | jq | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 178 100 178 0 0 291k 0 --:--:-- --:--:-- --:--:-- 173k | |
{ | |
"data": { | |
"pubkey": "0x80395f593e4a71b789942ddad6f85eb05d458f060acf37fedde1257d59493fa484aa64451af9b352c3091cd6ffeb2528", | |
"ethaddress": "0xd50e1ec0d744a0d63d476d3f6fc2aaf4e234f06a" | |
} | |
} | |
root@25c70e4d4c15:/home/beacon/run# curl -X POST -H "Authorization: Bearer $(cat ${DATADIR}/validators/api-token.txt)" -H "Content-Type: application/json" -d "{ \"ethaddress\": \"${FEE_RECIPIENT3}\" }" http://localhost:5062/eth/v1/validator/${PUBKEY3}/feerecipient | jq | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 66 100 4 100 62 4036 62563 --:--:-- --:--:-- --:--:-- 66000 | |
null | |
root@25c70e4d4c15:/home/beacon/run# curl -X GET -H "Authorization: Bearer $(cat ${DATADIR}/validators/api-token.txt)" -H "Content-Type: application/json" http://localhost:5062/eth/v1/validator/${PUBKEY3}/feerecipient | jq | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 178 100 178 0 0 263k 0 --:--:-- --:--:-- --:--:-- 173k | |
{ | |
"data": { | |
"pubkey": "0x80395f593e4a71b789942ddad6f85eb05d458f060acf37fedde1257d59493fa484aa64451af9b352c3091cd6ffeb2528", | |
"ethaddress": "0x4242424242424242424242424242424242424242" | |
} | |
} | |
root@25c70e4d4c15:/home/beacon/run# curl -X GET -H "Authorization: Bearer $(cat ${DATADIR}/validators/api-token.txt)" -H "Content-Type: application/json" http://localhost:5062/eth/v1/validator/${PUBKEY1}/feerecipient | jq | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 178 100 178 0 0 248k 0 --:--:-- --:--:-- --:--:-- 173k | |
{ | |
"data": { | |
"pubkey": "0x810761e15a24fe47f6032658920063f74d7cc818d4138a25b1df7508fe0728295b52881b20325d99db4dbdcb59e9f7f3", | |
"ethaddress": "0xd50e1ec0d744a0d63d476d3f6fc2aaf4e234f06a" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment