document ens name api

This commit is contained in:
burnettk 2023-04-26 11:13:37 -04:00
parent 61094ceb57
commit 427eeb297c
No known key found for this signature in database
1 changed files with 3 additions and 0 deletions

View File

@ -3,3 +3,6 @@
# {"jsonrpc":"2.0","id":1,"result":null}
curl http://wakunode2.spiffworkflow.org -XPOST -H 'content-type: application/json' -d '{"jsonrpc":"2.0","method":"wakuext_sendOneToOneMessage","params":[{"id": "zQ3shh9nNUbuLzjzvjgUwxAKb3HEDMrVrNzyTW1ZUrFgcLhxc", "message": "hello dude what is happening now thursday demo"}],"id":1}'
# get public key from ens name
curl http://localhost:8545 -XPOST -H 'content-type: application/json' -d '{"jsonrpc":"2.0","method":"ens_publicKeyOf","params":["1", "cammellos.eth"], "id":1}'