curl --request GET \
--url https://api.copper.co/platform/agent-walletsimport requests
url = "https://api.copper.co/platform/agent-wallets"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.copper.co/platform/agent-wallets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.copper.co/platform/agent-wallets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.copper.co/platform/agent-wallets"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.copper.co/platform/agent-wallets")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.copper.co/platform/agent-wallets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"address": "<string>",
"agentType": "internal",
"createdAt": "<string>",
"createdBy": "<string>",
"id": "<string>",
"name": "<string>",
"orderId": "<string>",
"orderStatus": "new",
"portfolioId": "<string>",
"revokeOrderId": "<string>",
"status": "pending",
"validUntil": "<string>"
}{
"error": "bad-request",
"message": "<string>"
}{
"error": "forbidden",
"message": "<string>"
}{
"error": "conflict",
"message": "<string>"
}Get agent wallets
Get the active Hyperliquid agent (hot) wallets for a portfolio, or for every portfolio in an organization
curl --request GET \
--url https://api.copper.co/platform/agent-walletsimport requests
url = "https://api.copper.co/platform/agent-wallets"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.copper.co/platform/agent-wallets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.copper.co/platform/agent-wallets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.copper.co/platform/agent-wallets"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.copper.co/platform/agent-wallets")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.copper.co/platform/agent-wallets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"address": "<string>",
"agentType": "internal",
"createdAt": "<string>",
"createdBy": "<string>",
"id": "<string>",
"name": "<string>",
"orderId": "<string>",
"orderStatus": "new",
"portfolioId": "<string>",
"revokeOrderId": "<string>",
"status": "pending",
"validUntil": "<string>"
}{
"error": "bad-request",
"message": "<string>"
}{
"error": "forbidden",
"message": "<string>"
}{
"error": "conflict",
"message": "<string>"
}Response
OK
Agent (public) key address
Whether the agent key was generated by Copper (internal) or supplied by the client as an explicit agent address (external). See details
internal, external Creation timestamp of the originating activation order
Creator user id of the originating activation order
Stable id for this wallet: the agent (public) key address for active keys, the order id for pending keys
Key name (agent name)
Id of the originating activation order
Status of the originating activation order. See details
new, waiting-funds, reserving, reserved, queued, validating-funds, working, waiting-approve, co-sign-require, approved, processing, executed, canceled, rejecting, rejected, declining, declined, suspending, suspended, blocked, action-required, accepting, accepted, require-initializer-approve, waiting-counterparty-approve, require-counterparty-approve, ready-for-settlement, settled, part-signed-tx-added, full-signed-tx-added, rejected-part-signed-tx-added, rejected-full-signed-tx-added, accepted-part-signed-tx-added, accepted-full-signed-tx-added, awaiting-settlement, master-password-required, manual-resolving, error, pending-atomic-settlement-confirmation, atomic-settlement-reservation-completed, require-finalize, waiting-accept-deposit, waiting-reject-deposit Portfolio this agent wallet belongs to
Id of a pending revoke order targeting this agent wallet, if one exists (the key is being deleted)
Status of this agent wallet. See details
pending, active, inactive Raw expiry from the activation step (unix-seconds); null/0 means no expiry
Was this page helpful?