How to get address books?
Process of fetching address books
Address books can fetched based on 2 parameters
id
- can besatyam@metamask
,satyam.eth
etcname
(optional) - can be name of the particular address books
Call API
Last updated
Process of fetching address books
Address books can fetched based on 2 parameters
id
- can be satyam@metamask
, satyam.eth
etc
name
(optional) - can be name of the particular address books
Last updated
const response = await fetch('https://sandbox-api.fetcch.xyz/v1/address-books', {
method: 'GET',
headers: {},
});
const data = await response.json();
{
"data": [
{
"name": "text",
"addresses": [
{
"address": "text",
"chainType": "EVM",
"name": "text"
}
],
"walletIds": [
{
"walletId": "text",
"wallet": {
"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"
}
],
"ownerId": "text",
"updatedAt": "2024-11-21T06:58:09.949Z",
"createdAt": "2024-11-21T06:58:09.949Z"
},
"defaultAddress": "text",
"default": {
"address": "text",
"chain": {
"name": "text",
"symbol": "text",
"icon": "text",
"rpc": [
"text"
],
"type": "EVM",
"shortName": "text",
"infoURL": "text",
"updatedAt": "2024-11-21T06:58:09.949Z",
"createdAt": "2024-11-21T06:58:09.949Z"
},
"isMultisig": false,
"isSmartContractWallet": false,
"walletId": {
"name": "text",
"symbol": "text",
"icon": "text",
"rpc": [
"text"
],
"type": "EVM",
"shortName": "text",
"infoURL": "text",
"updatedAt": "2024-11-21T06:58:09.949Z",
"createdAt": "2024-11-21T06:58:09.949Z"
},
"updatedAt": "2024-11-21T06:58:09.949Z",
"createdAt": "2024-11-21T06:58:09.949Z"
},
"secondary": [
{
"id": "text",
"address": "text",
"isMultisig": false,
"isSmartContractWallet": false,
"chain": {
"name": "text",
"symbol": "text",
"icon": "text",
"rpc": [
"text"
],
"type": "EVM",
"shortName": "text",
"infoURL": "text",
"updatedAt": "2024-11-21T06:58:09.949Z",
"createdAt": "2024-11-21T06:58:09.949Z"
},
"walletId": "text",
"updatedAt": "2024-11-21T06:58:09.949Z",
"createdAt": "2024-11-21T06:58:09.949Z"
}
],
"currentSignature": "text",
"previousSignature": "text",
"isContract": false,
"syncedAt": "2024-11-21T06:58:09.949Z",
"createdAt": "2024-11-21T06:58:09.949Z"
},
"name": "text",
"createdAt": "2024-11-21T06:58:09.949Z",
"updatedAt": "2024-11-21T06:58:09.949Z"
}
],
"ownerId": "text",
"owner": {
"owner": "text",
"ownerId": "text",
"ownerIdentity": {
"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"
}
],
"ownerId": "text",
"updatedAt": "2024-11-21T06:58:09.949Z",
"createdAt": "2024-11-21T06:58:09.949Z"
},
"defaultAddress": "text",
"default": {
"address": "text",
"chain": {
"name": "text",
"symbol": "text",
"icon": "text",
"rpc": [
"text"
],
"type": "EVM",
"shortName": "text",
"infoURL": "text",
"updatedAt": "2024-11-21T06:58:09.949Z",
"createdAt": "2024-11-21T06:58:09.949Z"
},
"isMultisig": false,
"isSmartContractWallet": false,
"walletId": {
"name": "text",
"symbol": "text",
"icon": "text",
"rpc": [
"text"
],
"type": "EVM",
"shortName": "text",
"infoURL": "text",
"updatedAt": "2024-11-21T06:58:09.949Z",
"createdAt": "2024-11-21T06:58:09.949Z"
},
"updatedAt": "2024-11-21T06:58:09.949Z",
"createdAt": "2024-11-21T06:58:09.949Z"
},
"secondary": [
{
"id": "text",
"address": "text",
"isMultisig": false,
"isSmartContractWallet": false,
"chain": {
"name": "text",
"symbol": "text",
"icon": "text",
"rpc": [
"text"
],
"type": "EVM",
"shortName": "text",
"infoURL": "text",
"updatedAt": "2024-11-21T06:58:09.949Z",
"createdAt": "2024-11-21T06:58:09.949Z"
},
"walletId": "text",
"updatedAt": "2024-11-21T06:58:09.949Z",
"createdAt": "2024-11-21T06:58:09.949Z"
}
],
"currentSignature": "text",
"previousSignature": "text",
"isContract": false,
"syncedAt": "2024-11-21T06:58:09.949Z",
"createdAt": "2024-11-21T06:58:09.949Z"
},
"createdAt": "2024-11-21T06:58:09.949Z",
"updatedAt": "2024-11-21T06:58:09.949Z"
},
"requests": [
{
"toId": "text",
"to": {
"owner": "text",
"ownerId": "text",
"ownerIdentity": {
"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"
}
],
"ownerId": "text",
"updatedAt": "2024-11-21T06:58:09.949Z",
"createdAt": "2024-11-21T06:58:09.949Z"
},
"defaultAddress": "text",
"default": {
"address": "text",
"chain": {
"name": "text",
"symbol": "text",
"icon": "text",
"rpc": [
"text"
],
"type": "EVM",
"shortName": "text",
"infoURL": "text",
"updatedAt": "2024-11-21T06:58:09.949Z",
"createdAt": "2024-11-21T06:58:09.949Z"
},
"isMultisig": false,
"isSmartContractWallet": false,
"walletId": {
"name": "text",
"symbol": "text",
"icon": "text",
"rpc": [
"text"
],
"type": "EVM",
"shortName": "text",
"infoURL": "text",
"updatedAt": "2024-11-21T06:58:09.949Z",
"createdAt": "2024-11-21T06:58:09.949Z"
},
"updatedAt": "2024-11-21T06:58:09.949Z",
"createdAt": "2024-11-21T06:58:09.949Z"
},
"secondary": [
{
"id": "text",
"address": "text",
"isMultisig": false,
"isSmartContractWallet": false,
"chain": {
"name": "text",
"symbol": "text",
"icon": "text",
"rpc": [
"text"
],
"type": "EVM",
"shortName": "text",
"infoURL": "text",
"updatedAt": "2024-11-21T06:58:09.949Z",
"createdAt": "2024-11-21T06:58:09.949Z"
},
"walletId": "text",
"updatedAt": "2024-11-21T06:58:09.949Z",
"createdAt": "2024-11-21T06:58:09.949Z"
}
],
"currentSignature": "text",
"previousSignature": "text",
"isContract": false,
"syncedAt": "2024-11-21T06:58:09.949Z",
"createdAt": "2024-11-21T06:58:09.949Z"
},
"createdAt": "2024-11-21T06:58:09.949Z",
"updatedAt": "2024-11-21T06:58:09.949Z"
},
"access": "READ",
"pending": true,
"accepted": false,
"createdAt": "2024-11-21T06:58:09.949Z",
"updatedAt": "2024-11-21T06:58:09.949Z"
}
],
"createdAt": "2024-11-21T06:58:09.949Z",
"updatedAt": "2024-11-21T06:58:09.949Z"
}
],
"timestamp": "2024-11-21T06:58:09.949Z"
}