Balances of social smart wallets
curl --request GET \
--url https://api.inprocess.world/api/smartwallet/balancesimport requests
url = "https://api.inprocess.world/api/smartwallet/balances"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.inprocess.world/api/smartwallet/balances', 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.inprocess.world/api/smartwallet/balances",
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.inprocess.world/api/smartwallet/balances"
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.inprocess.world/api/smartwallet/balances")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.inprocess.world/api/smartwallet/balances")
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{
"balances": [
{
"social_wallet": "0x1234567890123456789012345678901234567890",
"smart_wallet": "0xabcdefabcdefabcdefabcdefabcdefabcdefabcd",
"eth_balance": "0.5",
"usdc_balance": "100.0"
}
],
"total_eth_balance": "0.5",
"total_usdc_balance": "100.0"
}{
"status": "error",
"message": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"status": "error",
"message": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}Smart Wallet
Balances of social smart wallets
Get balances of all social smart wallets associated with an artist address. Returns ETH and USDC balances for each social smart wallet, along with total balances across all wallets.
GET
/
smartwallet
/
balances
Balances of social smart wallets
curl --request GET \
--url https://api.inprocess.world/api/smartwallet/balancesimport requests
url = "https://api.inprocess.world/api/smartwallet/balances"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.inprocess.world/api/smartwallet/balances', 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.inprocess.world/api/smartwallet/balances",
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.inprocess.world/api/smartwallet/balances"
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.inprocess.world/api/smartwallet/balances")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.inprocess.world/api/smartwallet/balances")
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{
"balances": [
{
"social_wallet": "0x1234567890123456789012345678901234567890",
"smart_wallet": "0xabcdefabcdefabcdefabcdefabcdefabcdefabcd",
"eth_balance": "0.5",
"usdc_balance": "100.0"
}
],
"total_eth_balance": "0.5",
"total_usdc_balance": "100.0"
}{
"status": "error",
"message": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"status": "error",
"message": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}Query Parameters
The artist wallet address to get balances for
Chain ID of the network (default: Base, 8453)