How to resolve identity?
Last updated
Last updated
Check Quickstart for authenticating with API Key
For Quickstart
const id = await fetcch.identity.resolve("satyam@metamask")
// CAN ALSO DO
const id = await fetcch.identity.resolve("satyam.eth")
// OR
const id = await fetcch.identity.resolve("satyam.sol")
// EVEN OR
const id = await fetcch.identity.resolve("satyam.nft")
/identity
satyams@fetcch
0x8E9e20b90efa7d0A072bfc8b0C74D96104F1F6FE
0x8E9e20b90efa7d0A072bfc8b0C74D96104F1F6FE34423232
curl -L \
--url 'https://sandbox-api.fetcch.xyz/v1/identity' \
--header 'secret-key: YOUR_API_KEY'
{
"data": {
"id": "text",
"identifier": "text",
"providerId": "text",
"provider": {
"id": "text",
"logo": "text",
"apiKey": "text",
"delimiter": "text",
"txHash": "text",
"dataSourceId": 1,
"ownerId": "text",
"updatedAt": "2025-02-23T10:38:29.351Z",
"createdAt": "2025-02-23T10:38:29.351Z",
"registry": [
{
"address": "text",
"txHash": "text",
"providerId": "text",
"provider": {
"id": "text",
"logo": "text",
"apiKey": "text",
"delimiter": "text",
"txHash": "text",
"dataSourceId": 1,
"ownerId": "text",
"updatedAt": "2025-02-23T10:38:29.351Z",
"createdAt": "2025-02-23T10:38:29.351Z",
"registry": "[Circular Reference]"
},
"chainType": "EVM"
}
]
},
"defaultAddress": "text",
"default": {
"address": "text",
"chain": {
"id": 1,
"name": "text",
"symbol": "text",
"icon": "text",
"shortName": "text",
"infoURL": "text",
"chainId": 1,
"updatedAt": "2025-02-23T10:38:29.351Z",
"createdAt": "2025-02-23T10:38:29.351Z",
"type": "EVM",
"rpc": [
"text"
]
},
"chainId": 1,
"isMultisig": false,
"isSmartContractWallet": false,
"walletId": {
"id": 1,
"name": "text",
"symbol": "text",
"icon": "text",
"shortName": "text",
"infoURL": "text",
"chainId": 1,
"updatedAt": "2025-02-23T10:38:29.351Z",
"createdAt": "2025-02-23T10:38:29.351Z",
"type": "EVM",
"rpc": [
"text"
]
},
"updatedAt": "2025-02-23T10:38:29.351Z",
"createdAt": "2025-02-23T10:38:29.351Z"
},
"nonce": 0,
"currentSignature": "text",
"previousSignature": "text",
"isContract": false,
"syncedAt": "2025-02-23T10:38:29.351Z",
"createdAt": "2025-02-23T10:38:29.351Z",
"secondary": [
{
"id": "text",
"address": "text",
"isMultisig": false,
"isSmartContractWallet": false,
"chainId": 1,
"chain": {
"id": 1,
"name": "text",
"symbol": "text",
"icon": "text",
"shortName": "text",
"infoURL": "text",
"chainId": 1,
"updatedAt": "2025-02-23T10:38:29.351Z",
"createdAt": "2025-02-23T10:38:29.351Z",
"type": "EVM",
"rpc": [
"text"
]
},
"walletId": "text",
"identity": {
"id": "text",
"identifier": "text",
"providerId": "text",
"provider": {
"id": "text",
"logo": "text",
"apiKey": "text",
"delimiter": "text",
"txHash": "text",
"dataSourceId": 1,
"ownerId": "text",
"updatedAt": "2025-02-23T10:38:29.351Z",
"createdAt": "2025-02-23T10:38:29.351Z",
"registry": [
{
"address": "text",
"txHash": "text",
"providerId": "text",
"provider": {
"id": "text",
"logo": "text",
"apiKey": "text",
"delimiter": "text",
"txHash": "text",
"dataSourceId": 1,
"ownerId": "text",
"updatedAt": "2025-02-23T10:38:29.351Z",
"createdAt": "2025-02-23T10:38:29.351Z",
"registry": "[Circular Reference]"
},
"chainType": "EVM"
}
]
},
"defaultAddress": "text",
"default": {
"address": "text",
"chain": {
"id": 1,
"name": "text",
"symbol": "text",
"icon": "text",
"shortName": "text",
"infoURL": "text",
"chainId": 1,
"updatedAt": "2025-02-23T10:38:29.351Z",
"createdAt": "2025-02-23T10:38:29.351Z",
"type": "EVM",
"rpc": [
"text"
]
},
"chainId": 1,
"isMultisig": false,
"isSmartContractWallet": false,
"walletId": {
"id": 1,
"name": "text",
"symbol": "text",
"icon": "text",
"shortName": "text",
"infoURL": "text",
"chainId": 1,
"updatedAt": "2025-02-23T10:38:29.351Z",
"createdAt": "2025-02-23T10:38:29.351Z",
"type": "EVM",
"rpc": [
"text"
]
},
"updatedAt": "2025-02-23T10:38:29.351Z",
"createdAt": "2025-02-23T10:38:29.351Z"
},
"nonce": 0,
"currentSignature": "text",
"previousSignature": "text",
"isContract": false,
"syncedAt": "2025-02-23T10:38:29.351Z",
"createdAt": "2025-02-23T10:38:29.351Z",
"secondary": [
"[Circular Reference]"
]
},
"updatedAt": "2025-02-23T10:38:29.351Z",
"createdAt": "2025-02-23T10:38:29.351Z"
}
]
},
"status": 1,
"timestamp": "2025-02-23T10:38:29.351Z"
}