Skip to content

Commit

Permalink
chore: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
fedealconada committed Dec 12, 2024
1 parent 9c41d0e commit fa1126a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,13 @@ curl -X GET "https://monitor.sophon.xyz/nodes?operators=OPERATOR_ADDRESS
```
`operators` filter takes comma-separated addresses.

### I want to change my node URL (or IP)
### I want to change some params of my node
You can change your node's URL (or IP) and/or destination address:
```
curl -X PUT "https://monitor.sophon.xyz/nodes" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer SIGNED_MESSAGE" \
-d '{ "operator": "OPERATOR_ADDRESS", "url": "NEW_URL", "timestamp": TIMESTAMP}'
-d '{ "operator": "OPERATOR_ADDRESS", "url": "NEW_URL", "destination": "NEW_DESTINATION", "timestamp": TIMESTAMP}'
```
*This calls requires you to sign a message so we can verify you are the owner of the operator address.*

Expand Down

0 comments on commit fa1126a

Please sign in to comment.