mirror of
https://github.com/oceanprotocol/ens-proxy.git
synced 2024-12-02 05:57:34 +01:00
Updating readme example responses
This commit is contained in:
parent
398e147f23
commit
e776846c7a
76
README.md
76
README.md
@ -33,7 +33,9 @@ GET http://localhost:3000/api/address?name=jellymcjellyfish.eth
|
|||||||
Example response:
|
Example response:
|
||||||
|
|
||||||
```
|
```
|
||||||
0x99840Df5Cb42faBE0Feb8811Aaa4BC99cA6C84e0
|
{
|
||||||
|
"address": "0x99840Df5Cb42faBE0Feb8811Aaa4BC99cA6C84e0"
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Get Ens Text Records
|
### Get Ens Text Records
|
||||||
@ -45,24 +47,26 @@ GET http://localhost:3000/api/text?name=jellymcjellyfish.eth
|
|||||||
Example response:
|
Example response:
|
||||||
|
|
||||||
```
|
```
|
||||||
[
|
{
|
||||||
{
|
"records": [
|
||||||
"key": "url",
|
{
|
||||||
"value": "https://oceanprotocol.com"
|
"key": "url",
|
||||||
},
|
"value": "https://oceanprotocol.com"
|
||||||
{
|
},
|
||||||
"key": "avatar",
|
{
|
||||||
"value": "https://raw.githubusercontent.com/oceanprotocol/art/main/logo/favicon-white.png"
|
"key": "avatar",
|
||||||
},
|
"value": "https://raw.githubusercontent.com/oceanprotocol/art/main/logo/favicon-white.png"
|
||||||
{
|
},
|
||||||
"key": "com.github",
|
{
|
||||||
"value": "oceanprotocol"
|
"key": "com.twitter",
|
||||||
},
|
"value": "oceanprotocol"
|
||||||
{
|
},
|
||||||
"key": "com.twitter",
|
{
|
||||||
"value": "oceanprotocol"
|
"key": "com.github",
|
||||||
}
|
"value": "oceanprotocol"
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Get ENS Profile
|
### Get ENS Profile
|
||||||
@ -75,21 +79,23 @@ Example response:
|
|||||||
|
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
"name": "jellymcjellyfish.eth",
|
"profile": {
|
||||||
"avatar": "https://metadata.ens.domains/mainnet/avatar/jellymcjellyfish.eth",
|
"name": "jellymcjellyfish.eth",
|
||||||
"links": [
|
"avatar": "https://metadata.ens.domains/mainnet/avatar/jellymcjellyfish.eth",
|
||||||
{
|
"links": [
|
||||||
"key": "url",
|
{
|
||||||
"value": "https://oceanprotocol.com"
|
"key": "url",
|
||||||
},
|
"value": "https://oceanprotocol.com"
|
||||||
{
|
},
|
||||||
"key": "com.github",
|
{
|
||||||
"value": "oceanprotocol"
|
"key": "com.twitter",
|
||||||
},
|
"value": "oceanprotocol"
|
||||||
{
|
},
|
||||||
"key": "com.twitter",
|
{
|
||||||
"value": "oceanprotocol"
|
"key": "com.github",
|
||||||
}
|
"value": "oceanprotocol"
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user