Get the authenticated PID's wallet chain rows
curl --request GET \
--url https://api.pid.peridotvault.com/v1/account \
--cookie pid_access=const options = {method: 'GET', headers: {cookie: 'pid_access='}};
fetch('https://api.pid.peridotvault.com/v1/account', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pid.peridotvault.com/v1/account"
headers = {"cookie": "pid_access="}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pid.peridotvault.com/v1/account"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "pid_access=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"chainNamespace": "solana",
"chainReference": "4uhcVJyU9pJkvQyS88uRDiswHXSCkY3z",
"address": "<string>",
"accountType": "smart_account",
"status": "active",
"createdAt": "2023-11-07T05:31:56Z"
}
]{
"statusCode": 401,
"message": "Unauthorized"
}{
"statusCode": 404,
"message": "No Identity found"
}account
Get the authenticated PID's wallet chain rows
GET
/
account
Get the authenticated PID's wallet chain rows
curl --request GET \
--url https://api.pid.peridotvault.com/v1/account \
--cookie pid_access=const options = {method: 'GET', headers: {cookie: 'pid_access='}};
fetch('https://api.pid.peridotvault.com/v1/account', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pid.peridotvault.com/v1/account"
headers = {"cookie": "pid_access="}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pid.peridotvault.com/v1/account"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "pid_access=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"chainNamespace": "solana",
"chainReference": "4uhcVJyU9pJkvQyS88uRDiswHXSCkY3z",
"address": "<string>",
"accountType": "smart_account",
"status": "active",
"createdAt": "2023-11-07T05:31:56Z"
}
]{
"statusCode": 401,
"message": "Unauthorized"
}{
"statusCode": 404,
"message": "No Identity found"
}Authorizations
JWT access token set by /auth/google/callback or /auth/refresh
Response
The chain rows
CAIP-2 namespace — solana (V1) or eip155 (EVM counterfactuals)
Example:
"solana"
CAIP-2 reference — genesis-hash prefix (Solana) or decimal chain id (EVM: 10143, 97, 421614)
Example:
"4uhcVJyU9pJkvQyS88uRDiswHXSCkY3z"
PDA (Solana smart_account), CREATE2 counterfactual (EVM smart_account), or user-supplied address (linked_address). Public data only.
Available options:
smart_account, linked_address Available options:
active, suspended, deleted