Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add query operator status rpc api for proxy #174

Merged
merged 3 commits into from
Aug 29, 2024

Conversation

fyInALT
Copy link
Collaborator

@fyInALT fyInALT commented Aug 29, 2024

 curl --noproxy '*' -H "Content-Type: application/json" -d '{"id":"1", "jsonrpc":"2.0", "method": "operator_operatorStatus", "params":[]}'  http://127.0.0.1:8902
{"id":"1","result":{"node_name":"generic_operator","version":"rev-a12784a","avs":[{"avs_name":"op_sepolia","avs_contract_address":"0xAE9a4497dee2540DaF489BeddB0706128a99ec63","operator_id":"0x5a76fe9014f9cd296a69ac589c2bbd2c6a354c5e4c0c79ee35c5b8202b8523a2","operator_address":"0xAD6B95793DD4D2b8e184FB4666D1cfb14871A035"},{"avs_name":"arbitrum_one_testnet3","avs_contract_address":"0xAE9a4497dee2540DaF489BeddB0706128a99ec63","operator_id":"0x5a76fe9014f9cd296a69ac589c2bbd2c6a354c5e4c0c79ee35c5b8202b8523a2","operator_address":"0xAD6B95793DD4D2b8e184FB4666D1cfb14871A035"}]},"jsonrpc":"2.0"}

@fyInALT fyInALT requested review from bb111189 and renlulu August 29, 2024 11:46
@fyInALT fyInALT self-assigned this Aug 29, 2024
@fyInALT fyInALT merged commit c4082a8 into m2-dev Aug 29, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants