Get agent wallets
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>"
}hyperliquid
Get agent wallets
Get the active Hyperliquid agent (hot) wallets for a portfolio, or for every portfolio in an organization
GET
/
agent-wallets
Get agent wallets
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
Whether the agent key was generated by Copper (internal) or supplied by the client as an explicit agent address (external). See details
Available options:
internal, external Status of the originating activation order. See details
Available options:
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 Status of this agent wallet. See details
Available options:
pending, active, inactive Was this page helpful?