How to resolve identity?
Last updated
Last updated
Check for authenticating with API Key
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")
For
satyams@fetcch
0x8E9e20b90efa7d0A072bfc8b0C74D96104F1F6FE
0x8E9e20b90efa7d0A072bfc8b0C74D96104F1F6FE34423232
GET /v1/identity HTTP/1.1
Host: sandbox-api.fetcch.xyz
secret-key: YOUR_API_KEY
Accept: */*
{
"data": {
"id": "text",
"identifier": "text",
"providerId": "text",
"provider": {
"id": "text",
"logo": "text",
"apiKey": "text",
"delimiter": "text",
"txHash": "text",
"registry": [
{
"address": "text",
"chainType": "EVM",
"txHash": "text",
"providerId": "text",
"provider": {
"id": "text",
"logo": "text",
"apiKey": "text",
"delimiter": "text",
"txHash": "text",
"registry": "[Circular Reference]",
"dataSourceId": 1,
"ownerId": "text",
"updatedAt": "2025-04-24T09:41:37.585Z",
"createdAt": "2025-04-24T09:41:37.585Z"
}
}
],
"dataSourceId": 1,
"ownerId": "text",
"updatedAt": "2025-04-24T09:41:37.585Z",
"createdAt": "2025-04-24T09:41:37.585Z"
},
"defaultAddress": "text",
"default": {
"address": "text",
"chain": {
"id": 1,
"name": "text",
"symbol": "text",
"icon": "text",
"rpc": [
"text"
],
"type": "EVM",
"shortName": "text",
"infoURL": "text",
"chainId": 1,
"updatedAt": "2025-04-24T09:41:37.585Z",
"createdAt": "2025-04-24T09:41:37.585Z"
},
"chainId": 1,
"isMultisig": true,
"isSmartContractWallet": true,
"walletId": {
"id": 1,
"name": "text",
"symbol": "text",
"icon": "text",
"rpc": [
"text"
],
"type": "EVM",
"shortName": "text",
"infoURL": "text",
"chainId": 1,
"updatedAt": "2025-04-24T09:41:37.585Z",
"createdAt": "2025-04-24T09:41:37.585Z"
},
"updatedAt": "2025-04-24T09:41:37.585Z",
"createdAt": "2025-04-24T09:41:37.585Z"
},
"secondary": [
{
"id": "text",
"address": "text",
"isMultisig": true,
"isSmartContractWallet": true,
"chainId": 1,
"chain": {
"id": 1,
"name": "text",
"symbol": "text",
"icon": "text",
"rpc": [
"text"
],
"type": "EVM",
"shortName": "text",
"infoURL": "text",
"chainId": 1,
"updatedAt": "2025-04-24T09:41:37.585Z",
"createdAt": "2025-04-24T09:41:37.585Z"
},
"walletId": "text",
"identity": {
"id": "text",
"identifier": "text",
"providerId": "text",
"provider": {
"id": "text",
"logo": "text",
"apiKey": "text",
"delimiter": "text",
"txHash": "text",
"registry": [
{
"address": "text",
"chainType": "EVM",
"txHash": "text",
"providerId": "text",
"provider": {
"id": "text",
"logo": "text",
"apiKey": "text",
"delimiter": "text",
"txHash": "text",
"registry": "[Circular Reference]",
"dataSourceId": 1,
"ownerId": "text",
"updatedAt": "2025-04-24T09:41:37.585Z",
"createdAt": "2025-04-24T09:41:37.585Z"
}
}
],
"dataSourceId": 1,
"ownerId": "text",
"updatedAt": "2025-04-24T09:41:37.585Z",
"createdAt": "2025-04-24T09:41:37.585Z"
},
"defaultAddress": "text",
"default": {
"address": "text",
"chain": {
"id": 1,
"name": "text",
"symbol": "text",
"icon": "text",
"rpc": [
"text"
],
"type": "EVM",
"shortName": "text",
"infoURL": "text",
"chainId": 1,
"updatedAt": "2025-04-24T09:41:37.585Z",
"createdAt": "2025-04-24T09:41:37.585Z"
},
"chainId": 1,
"isMultisig": true,
"isSmartContractWallet": true,
"walletId": {
"id": 1,
"name": "text",
"symbol": "text",
"icon": "text",
"rpc": [
"text"
],
"type": "EVM",
"shortName": "text",
"infoURL": "text",
"chainId": 1,
"updatedAt": "2025-04-24T09:41:37.585Z",
"createdAt": "2025-04-24T09:41:37.585Z"
},
"updatedAt": "2025-04-24T09:41:37.585Z",
"createdAt": "2025-04-24T09:41:37.585Z"
},
"secondary": [
"[Circular Reference]"
],
"nonce": 1,
"currentSignature": "text",
"previousSignature": "text",
"isContract": true,
"syncedAt": "2025-04-24T09:41:37.585Z",
"createdAt": "2025-04-24T09:41:37.585Z"
},
"updatedAt": "2025-04-24T09:41:37.585Z",
"createdAt": "2025-04-24T09:41:37.585Z"
}
],
"nonce": 1,
"currentSignature": "text",
"previousSignature": "text",
"isContract": true,
"syncedAt": "2025-04-24T09:41:37.585Z",
"createdAt": "2025-04-24T09:41:37.585Z"
},
"status": 1,
"timestamp": "2025-04-24T09:41:37.585Z"
}