curl --request POST \
--url https://api.coinlist.co/v1/offers/{offer_id}/addresses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"chain": "ethereum_sepolia",
"offer_option_id": "<string>",
"signature": "0xdeadbeef",
"wallet_address": "0x742d35cc6634c0532925a3b844bc9e7595f0beb1"
}
'import requests
url = "https://api.coinlist.co/v1/offers/{offer_id}/addresses"
payload = {
"chain": "ethereum_sepolia",
"offer_option_id": "<string>",
"signature": "0xdeadbeef",
"wallet_address": "0x742d35cc6634c0532925a3b844bc9e7595f0beb1"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
chain: 'ethereum_sepolia',
offer_option_id: '<string>',
signature: '0xdeadbeef',
wallet_address: '0x742d35cc6634c0532925a3b844bc9e7595f0beb1'
})
};
fetch('https://api.coinlist.co/v1/offers/{offer_id}/addresses', 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.coinlist.co/v1/offers/{offer_id}/addresses",
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([
'chain' => 'ethereum_sepolia',
'offer_option_id' => '<string>',
'signature' => '0xdeadbeef',
'wallet_address' => '0x742d35cc6634c0532925a3b844bc9e7595f0beb1'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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.coinlist.co/v1/offers/{offer_id}/addresses"
payload := strings.NewReader("{\n \"chain\": \"ethereum_sepolia\",\n \"offer_option_id\": \"<string>\",\n \"signature\": \"0xdeadbeef\",\n \"wallet_address\": \"0x742d35cc6634c0532925a3b844bc9e7595f0beb1\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.coinlist.co/v1/offers/{offer_id}/addresses")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"chain\": \"ethereum_sepolia\",\n \"offer_option_id\": \"<string>\",\n \"signature\": \"0xdeadbeef\",\n \"wallet_address\": \"0x742d35cc6634c0532925a3b844bc9e7595f0beb1\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.coinlist.co/v1/offers/{offer_id}/addresses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"chain\": \"ethereum_sepolia\",\n \"offer_option_id\": \"<string>\",\n \"signature\": \"0xdeadbeef\",\n \"wallet_address\": \"0x742d35cc6634c0532925a3b844bc9e7595f0beb1\"\n}"
response = http.request(request)
puts response.read_body{
"address": "<string>",
"created_at": "2025-01-01T00:00:00.000000Z",
"id": "05edea81-98a7-4582-aa7c-040d57cb1858",
"offer_option_id": "05edea81-98a7-4582-aa7c-040d57cb1858",
"protocol": "ethereum"
}{
"message": "<string>",
"type": "api_error",
"code": "<string>",
"errors": {},
"event_id": "<string>"
}Connect a proven external wallet to an offer option
For options without a whitelisted-wallet requirement, submitting when a wallet is already connected updates the existing binding in place, keeping its id. Options with a whitelisted-wallet requirement accumulate wallets up to the requirement’s max_wallets and then reject with max_wallets_reached.
curl --request POST \
--url https://api.coinlist.co/v1/offers/{offer_id}/addresses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"chain": "ethereum_sepolia",
"offer_option_id": "<string>",
"signature": "0xdeadbeef",
"wallet_address": "0x742d35cc6634c0532925a3b844bc9e7595f0beb1"
}
'import requests
url = "https://api.coinlist.co/v1/offers/{offer_id}/addresses"
payload = {
"chain": "ethereum_sepolia",
"offer_option_id": "<string>",
"signature": "0xdeadbeef",
"wallet_address": "0x742d35cc6634c0532925a3b844bc9e7595f0beb1"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
chain: 'ethereum_sepolia',
offer_option_id: '<string>',
signature: '0xdeadbeef',
wallet_address: '0x742d35cc6634c0532925a3b844bc9e7595f0beb1'
})
};
fetch('https://api.coinlist.co/v1/offers/{offer_id}/addresses', 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.coinlist.co/v1/offers/{offer_id}/addresses",
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([
'chain' => 'ethereum_sepolia',
'offer_option_id' => '<string>',
'signature' => '0xdeadbeef',
'wallet_address' => '0x742d35cc6634c0532925a3b844bc9e7595f0beb1'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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.coinlist.co/v1/offers/{offer_id}/addresses"
payload := strings.NewReader("{\n \"chain\": \"ethereum_sepolia\",\n \"offer_option_id\": \"<string>\",\n \"signature\": \"0xdeadbeef\",\n \"wallet_address\": \"0x742d35cc6634c0532925a3b844bc9e7595f0beb1\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.coinlist.co/v1/offers/{offer_id}/addresses")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"chain\": \"ethereum_sepolia\",\n \"offer_option_id\": \"<string>\",\n \"signature\": \"0xdeadbeef\",\n \"wallet_address\": \"0x742d35cc6634c0532925a3b844bc9e7595f0beb1\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.coinlist.co/v1/offers/{offer_id}/addresses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"chain\": \"ethereum_sepolia\",\n \"offer_option_id\": \"<string>\",\n \"signature\": \"0xdeadbeef\",\n \"wallet_address\": \"0x742d35cc6634c0532925a3b844bc9e7595f0beb1\"\n}"
response = http.request(request)
puts response.read_body{
"address": "<string>",
"created_at": "2025-01-01T00:00:00.000000Z",
"id": "05edea81-98a7-4582-aa7c-040d57cb1858",
"offer_option_id": "05edea81-98a7-4582-aa7c-040d57cb1858",
"protocol": "ethereum"
}{
"message": "<string>",
"type": "api_error",
"code": "<string>",
"errors": {},
"event_id": "<string>"
}Authorizations
OAuth 2.0 authorization and token endpoints
Path Parameters
The ID of the offer
Body
Offer option address params
Connects a proven external wallet to an offer option. Requires a previously generated, unconsumed wallet-ownership challenge for the same wallet and chain. The signature is verified and the single-use challenge consumed during ownership verification, before the bind. A rejected bind does not roll back the consume, so the user re-signs to retry.
The blockchain network the wallet belongs to.
ethereum_sepolia, base_sepolia, solana_devnet, ethereum_mainnet, base_mainnet, solana_mainnet "ethereum_sepolia"
The ID of the offer option to connect the wallet to.
The cryptographic signature of the challenge message.
"0xdeadbeef"
The external wallet address. For EVM chains, must be a valid Ethereum address (normalized to lowercase).
"0x742d35cc6634c0532925a3b844bc9e7595f0beb1"
Response
Successful response.
A user's proven external wallet connected to an offer option.
The connected external wallet address.
When the binding was created.
"2025-01-01T00:00:00.000000Z"
Unique identifier for the object.
"05edea81-98a7-4582-aa7c-040d57cb1858"
The ID of the offer option.
"05edea81-98a7-4582-aa7c-040d57cb1858"
The protocol the binding is scoped to. An EVM address binds once per option regardless of which EVM chain proved ownership.
ethereum, solana