cURL
curl --request GET \
--url http://localhost:4100/v1/account \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:4100/v1/account', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"label": "<string>",
"address": "<string>",
"type": "<string>",
"deploymentStatus": "counterfactual",
"chainId": 8453,
"signerAddress": "<string>",
"frozen": true,
"index": 123,
"hidden": true,
"purpose": "<string>",
"supersededAddress": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"chains": [
{
"chainId": 8453,
"accountId": "<string>",
"deploymentStatus": "counterfactual",
"frozen": true,
"authorityCore": true
}
],
"totalFiat": 123
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}Account
Get v1account
cURL
curl --request GET \
--url http://localhost:4100/v1/account \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:4100/v1/account', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"label": "<string>",
"address": "<string>",
"type": "<string>",
"deploymentStatus": "counterfactual",
"chainId": 8453,
"signerAddress": "<string>",
"frozen": true,
"index": 123,
"hidden": true,
"purpose": "<string>",
"supersededAddress": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"chains": [
{
"chainId": 8453,
"accountId": "<string>",
"deploymentStatus": "counterfactual",
"frozen": true,
"authorityCore": true
}
],
"totalFiat": 123
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}Authorizations
Response
Success.