Get AutoBoy wallet
curl --request GET \
--url https://thefirm.biz/api/public/v1/wallet \
--header 'Authorization: Bearer <token>'import requests
url = "https://thefirm.biz/api/public/v1/wallet"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://thefirm.biz/api/public/v1/wallet', 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://thefirm.biz/api/public/v1/wallet",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://thefirm.biz/api/public/v1/wallet"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://thefirm.biz/api/public/v1/wallet")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://thefirm.biz/api/public/v1/wallet")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"autoboyWalletAddress": "0x1234567890123456789012345678901234567890",
"balances": {
"base": [
{
"address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"symbol": "USDC",
"name": "USD Coin",
"decimals": 6,
"balance": "2500000"
},
{
"address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"balance": "1500000000000000000"
}
],
"robinhood": [
{
"address": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
"symbol": "USDG",
"name": "USDG",
"decimals": 6,
"balance": "0"
}
]
}
}AutoBoy Wallet
Get AutoBoy wallet
Returns the AutoBoy smart wallet address associated with the API key, along with native ETH and the ERC-20 tokens it holds that AutoBoy has indexed, keyed by chain. Held tokens AutoBoy has not indexed are omitted. Each chain lists its spend currency first.
GET
/
api
/
public
/
v1
/
wallet
Get AutoBoy wallet
curl --request GET \
--url https://thefirm.biz/api/public/v1/wallet \
--header 'Authorization: Bearer <token>'import requests
url = "https://thefirm.biz/api/public/v1/wallet"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://thefirm.biz/api/public/v1/wallet', 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://thefirm.biz/api/public/v1/wallet",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://thefirm.biz/api/public/v1/wallet"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://thefirm.biz/api/public/v1/wallet")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://thefirm.biz/api/public/v1/wallet")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"autoboyWalletAddress": "0x1234567890123456789012345678901234567890",
"balances": {
"base": [
{
"address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"symbol": "USDC",
"name": "USD Coin",
"decimals": 6,
"balance": "2500000"
},
{
"address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"balance": "1500000000000000000"
}
],
"robinhood": [
{
"address": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
"symbol": "USDG",
"name": "USDG",
"decimals": 6,
"balance": "0"
}
]
}
}Authorizations
API key issued via POST /api/public/v1/api-keys.
Response
The AutoBoy wallet balances.
Example:
"0x1234567890123456789012345678901234567890"
Balances keyed by chain. Every supported chain is present, holding native ETH and the ERC-20 tokens the autoboy smart wallet has there that AutoBoy has indexed, with that chain spend currency first (zero balance when the wallet holds none). Held tokens AutoBoy has not indexed are omitted.
Show child attributes
Show child attributes

