How to accept address book request?
Accepting request to address book
Last updated
Accepting request to address book
Last updated
Sign the above message by following signature guidelines mentioned according to the chain you are using
true
false
POST /v1/address-books/request/message HTTP/1.1
Host: sandbox-api.fetcch.xyz
secret-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 154
{
"id": 1,
"book": 1,
"to": "text",
"access": "READ",
"pending": true,
"accepted": true,
"createdAt": "2025-04-24T09:46:38.314Z",
"updatedAt": "2025-04-24T09:46:38.314Z"
}
{
"data": {
"message": "text",
"request": {
"id": 1,
"bookId": 1,
"book": {
"id": 1,
"name": "text",
"addresses": [
{
"id": 1,
"address": "text",
"chainType": "EVM",
"name": "text",
"addressBookId": 1,
"addressBook": "[Circular Reference]"
}
],
"walletIds": [
{
"id": 1,
"walletId": "text",
"wallet": "[Circular Reference]",
"name": "text",
"addressBookId": 1,
"addressBook": "[Circular Reference]",
"createdAt": "2025-04-24T09:46:38.314Z",
"updatedAt": "2025-04-24T09:46:38.314Z"
}
],
"ownerId": "text",
"owner": {
"owner": "text",
"ownerId": "text",
"ownerIdentity": {
"id": "text",
"identifier": "text",
"providerId": "text",
"provider": "[Circular Reference]",
"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:46:38.314Z",
"createdAt": "2025-04-24T09:46:38.314Z"
},
"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:46:38.314Z",
"createdAt": "2025-04-24T09:46:38.314Z"
},
"updatedAt": "2025-04-24T09:46:38.314Z",
"createdAt": "2025-04-24T09:46:38.314Z"
},
"secondary": "[Circular Reference]",
"nonce": 1,
"currentSignature": "text",
"previousSignature": "text",
"isContract": true,
"syncedAt": "2025-04-24T09:46:38.314Z",
"createdAt": "2025-04-24T09:46:38.314Z"
},
"createdAt": "2025-04-24T09:46:38.314Z",
"updatedAt": "2025-04-24T09:46:38.314Z"
},
"requests": [
{
"id": 1,
"bookId": 1,
"book": "[Circular Reference]",
"toId": "text",
"to": "[Circular Reference]",
"access": "READ",
"pending": true,
"accepted": true,
"createdAt": "2025-04-24T09:46:38.314Z",
"updatedAt": "2025-04-24T09:46:38.314Z"
}
],
"createdAt": "2025-04-24T09:46:38.314Z",
"updatedAt": "2025-04-24T09:46:38.314Z"
},
"toId": "text",
"to": {
"owner": "text",
"ownerId": "text",
"ownerIdentity": {
"id": "text",
"identifier": "text",
"providerId": "text",
"provider": "[Circular Reference]",
"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:46:38.314Z",
"createdAt": "2025-04-24T09:46:38.314Z"
},
"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:46:38.314Z",
"createdAt": "2025-04-24T09:46:38.314Z"
},
"updatedAt": "2025-04-24T09:46:38.314Z",
"createdAt": "2025-04-24T09:46:38.314Z"
},
"secondary": "[Circular Reference]",
"nonce": 1,
"currentSignature": "text",
"previousSignature": "text",
"isContract": true,
"syncedAt": "2025-04-24T09:46:38.314Z",
"createdAt": "2025-04-24T09:46:38.314Z"
},
"createdAt": "2025-04-24T09:46:38.314Z",
"updatedAt": "2025-04-24T09:46:38.314Z"
},
"access": "READ",
"pending": true,
"accepted": true,
"createdAt": "2025-04-24T09:46:38.314Z",
"updatedAt": "2025-04-24T09:46:38.314Z"
}
},
"status": 1,
"timestamp": "2025-04-24T09:46:38.314Z"
}
PATCH /v1/address-books/request HTTP/1.1
Host: sandbox-api.fetcch.xyz
secret-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 27
{
"signature": "text",
"id": 1
}
{
"data": {
"message": "text",
"request": {
"id": 1,
"bookId": 1,
"book": {
"id": 1,
"name": "text",
"addresses": [
{
"id": 1,
"address": "text",
"chainType": "EVM",
"name": "text",
"addressBookId": 1,
"addressBook": "[Circular Reference]"
}
],
"walletIds": [
{
"id": 1,
"walletId": "text",
"wallet": "[Circular Reference]",
"name": "text",
"addressBookId": 1,
"addressBook": "[Circular Reference]",
"createdAt": "2025-04-24T09:46:38.314Z",
"updatedAt": "2025-04-24T09:46:38.314Z"
}
],
"ownerId": "text",
"owner": {
"owner": "text",
"ownerId": "text",
"ownerIdentity": {
"id": "text",
"identifier": "text",
"providerId": "text",
"provider": "[Circular Reference]",
"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:46:38.314Z",
"createdAt": "2025-04-24T09:46:38.314Z"
},
"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:46:38.314Z",
"createdAt": "2025-04-24T09:46:38.314Z"
},
"updatedAt": "2025-04-24T09:46:38.314Z",
"createdAt": "2025-04-24T09:46:38.314Z"
},
"secondary": "[Circular Reference]",
"nonce": 1,
"currentSignature": "text",
"previousSignature": "text",
"isContract": true,
"syncedAt": "2025-04-24T09:46:38.314Z",
"createdAt": "2025-04-24T09:46:38.314Z"
},
"createdAt": "2025-04-24T09:46:38.314Z",
"updatedAt": "2025-04-24T09:46:38.314Z"
},
"requests": [
{
"id": 1,
"bookId": 1,
"book": "[Circular Reference]",
"toId": "text",
"to": "[Circular Reference]",
"access": "READ",
"pending": true,
"accepted": true,
"createdAt": "2025-04-24T09:46:38.314Z",
"updatedAt": "2025-04-24T09:46:38.314Z"
}
],
"createdAt": "2025-04-24T09:46:38.314Z",
"updatedAt": "2025-04-24T09:46:38.314Z"
},
"toId": "text",
"to": {
"owner": "text",
"ownerId": "text",
"ownerIdentity": {
"id": "text",
"identifier": "text",
"providerId": "text",
"provider": "[Circular Reference]",
"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:46:38.314Z",
"createdAt": "2025-04-24T09:46:38.314Z"
},
"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:46:38.314Z",
"createdAt": "2025-04-24T09:46:38.314Z"
},
"updatedAt": "2025-04-24T09:46:38.314Z",
"createdAt": "2025-04-24T09:46:38.314Z"
},
"secondary": "[Circular Reference]",
"nonce": 1,
"currentSignature": "text",
"previousSignature": "text",
"isContract": true,
"syncedAt": "2025-04-24T09:46:38.314Z",
"createdAt": "2025-04-24T09:46:38.314Z"
},
"createdAt": "2025-04-24T09:46:38.314Z",
"updatedAt": "2025-04-24T09:46:38.314Z"
},
"access": "READ",
"pending": true,
"accepted": true,
"createdAt": "2025-04-24T09:46:38.314Z",
"updatedAt": "2025-04-24T09:46:38.314Z"
}
},
"status": 1,
"timestamp": "2025-04-24T09:46:38.314Z"
}