List interchange whitelisted addresses
curl --request POST \
--url https://api.custody.api-zodia.io/v3/api/interchange/settlement/wallet/whitelisted/address \
--header 'Content-Type: application/json' \
--data '
{
"paginationLimit": 10,
"paginationOffset": 0,
"addresses": [
"<string>"
],
"blockchains": [
"ETH"
],
"blockchainIds": [
"eth-eth"
],
"statuses": [],
"addressFragment": "<string>"
}
'import requests
url = "https://api.custody.api-zodia.io/v3/api/interchange/settlement/wallet/whitelisted/address"
payload = {
"paginationLimit": 10,
"paginationOffset": 0,
"addresses": ["<string>"],
"blockchains": ["ETH"],
"blockchainIds": ["eth-eth"],
"statuses": [],
"addressFragment": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
paginationLimit: 10,
paginationOffset: 0,
addresses: ['<string>'],
blockchains: ['ETH'],
blockchainIds: ['eth-eth'],
statuses: [],
addressFragment: '<string>'
})
};
fetch('https://api.custody.api-zodia.io/v3/api/interchange/settlement/wallet/whitelisted/address', 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.custody.api-zodia.io/v3/api/interchange/settlement/wallet/whitelisted/address",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'paginationLimit' => 10,
'paginationOffset' => 0,
'addresses' => [
'<string>'
],
'blockchains' => [
'ETH'
],
'blockchainIds' => [
'eth-eth'
],
'statuses' => [
],
'addressFragment' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.custody.api-zodia.io/v3/api/interchange/settlement/wallet/whitelisted/address"
payload := strings.NewReader("{\n \"paginationLimit\": 10,\n \"paginationOffset\": 0,\n \"addresses\": [\n \"<string>\"\n ],\n \"blockchains\": [\n \"ETH\"\n ],\n \"blockchainIds\": [\n \"eth-eth\"\n ],\n \"statuses\": [],\n \"addressFragment\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.custody.api-zodia.io/v3/api/interchange/settlement/wallet/whitelisted/address")
.header("Content-Type", "application/json")
.body("{\n \"paginationLimit\": 10,\n \"paginationOffset\": 0,\n \"addresses\": [\n \"<string>\"\n ],\n \"blockchains\": [\n \"ETH\"\n ],\n \"blockchainIds\": [\n \"eth-eth\"\n ],\n \"statuses\": [],\n \"addressFragment\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.custody.api-zodia.io/v3/api/interchange/settlement/wallet/whitelisted/address")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"paginationLimit\": 10,\n \"paginationOffset\": 0,\n \"addresses\": [\n \"<string>\"\n ],\n \"blockchains\": [\n \"ETH\"\n ],\n \"blockchainIds\": [\n \"eth-eth\"\n ],\n \"statuses\": [],\n \"addressFragment\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"items": [
{
"address": "<string>",
"addressPurpose": [
"INCOMING"
],
"createdAt": "2024-12-31T23:59:59.999Z",
"blockchain": "ETH",
"blockchainId": "eth-eth"
}
],
"total": 1
}{
"timestamp": "2021-10-27T14:30:13.912Z",
"title": "Method Not Allowed",
"status": 415,
"details": [
{
"message": "Available methods : GET,POST",
"code": "ER-204"
}
]
}{
"timestamp": "2021-10-27T14:30:13.912Z",
"title": "Method Not Allowed",
"status": 415,
"details": [
{
"message": "Available methods : GET,POST",
"code": "ER-204"
}
]
}{
"timestamp": "2021-10-27T14:30:13.912Z",
"title": "Method Not Allowed",
"status": 415,
"details": [
{
"message": "Available methods : GET,POST",
"code": "ER-204"
}
]
}Interchange-V3
List interchange whitelisted addresses
List the addresses whitelisted with /v3/api/interchange/settlement/transactions endpoint
POST
/
v3
/
api
/
interchange
/
settlement
/
wallet
/
whitelisted
/
address
List interchange whitelisted addresses
curl --request POST \
--url https://api.custody.api-zodia.io/v3/api/interchange/settlement/wallet/whitelisted/address \
--header 'Content-Type: application/json' \
--data '
{
"paginationLimit": 10,
"paginationOffset": 0,
"addresses": [
"<string>"
],
"blockchains": [
"ETH"
],
"blockchainIds": [
"eth-eth"
],
"statuses": [],
"addressFragment": "<string>"
}
'import requests
url = "https://api.custody.api-zodia.io/v3/api/interchange/settlement/wallet/whitelisted/address"
payload = {
"paginationLimit": 10,
"paginationOffset": 0,
"addresses": ["<string>"],
"blockchains": ["ETH"],
"blockchainIds": ["eth-eth"],
"statuses": [],
"addressFragment": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
paginationLimit: 10,
paginationOffset: 0,
addresses: ['<string>'],
blockchains: ['ETH'],
blockchainIds: ['eth-eth'],
statuses: [],
addressFragment: '<string>'
})
};
fetch('https://api.custody.api-zodia.io/v3/api/interchange/settlement/wallet/whitelisted/address', 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.custody.api-zodia.io/v3/api/interchange/settlement/wallet/whitelisted/address",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'paginationLimit' => 10,
'paginationOffset' => 0,
'addresses' => [
'<string>'
],
'blockchains' => [
'ETH'
],
'blockchainIds' => [
'eth-eth'
],
'statuses' => [
],
'addressFragment' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.custody.api-zodia.io/v3/api/interchange/settlement/wallet/whitelisted/address"
payload := strings.NewReader("{\n \"paginationLimit\": 10,\n \"paginationOffset\": 0,\n \"addresses\": [\n \"<string>\"\n ],\n \"blockchains\": [\n \"ETH\"\n ],\n \"blockchainIds\": [\n \"eth-eth\"\n ],\n \"statuses\": [],\n \"addressFragment\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.custody.api-zodia.io/v3/api/interchange/settlement/wallet/whitelisted/address")
.header("Content-Type", "application/json")
.body("{\n \"paginationLimit\": 10,\n \"paginationOffset\": 0,\n \"addresses\": [\n \"<string>\"\n ],\n \"blockchains\": [\n \"ETH\"\n ],\n \"blockchainIds\": [\n \"eth-eth\"\n ],\n \"statuses\": [],\n \"addressFragment\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.custody.api-zodia.io/v3/api/interchange/settlement/wallet/whitelisted/address")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"paginationLimit\": 10,\n \"paginationOffset\": 0,\n \"addresses\": [\n \"<string>\"\n ],\n \"blockchains\": [\n \"ETH\"\n ],\n \"blockchainIds\": [\n \"eth-eth\"\n ],\n \"statuses\": [],\n \"addressFragment\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"items": [
{
"address": "<string>",
"addressPurpose": [
"INCOMING"
],
"createdAt": "2024-12-31T23:59:59.999Z",
"blockchain": "ETH",
"blockchainId": "eth-eth"
}
],
"total": 1
}{
"timestamp": "2021-10-27T14:30:13.912Z",
"title": "Method Not Allowed",
"status": 415,
"details": [
{
"message": "Available methods : GET,POST",
"code": "ER-204"
}
]
}{
"timestamp": "2021-10-27T14:30:13.912Z",
"title": "Method Not Allowed",
"status": 415,
"details": [
{
"message": "Available methods : GET,POST",
"code": "ER-204"
}
]
}{
"timestamp": "2021-10-27T14:30:13.912Z",
"title": "Method Not Allowed",
"status": 415,
"details": [
{
"message": "Available methods : GET,POST",
"code": "ER-204"
}
]
}Body
application/json
Required range:
1 <= x <= 1024Required range:
x >= 0Search by blockchain
Search by blockchainId
Available options:
ACTIVE, DEACTIVATED ⌘I