Public Development Servers

CoinDaddy is a big believer in crypto 2.0 projects and hosts a public counterparty development server to help support the community. If you have any requests or questions, please don't hesitate to contact us.

Service Network Hostname Port Username Password
Counterparty Mainnet public.coindaddy.io 4000 (http)
4001 (https)
rpc 1234
Counterparty Testnet public.coindaddy.io 14000 (http)
14001 (https)
rpc 1234
Counterblock Mainnet public.coindaddy.io 4100 - -
Counterblock Testnet public.coindaddy.io 14100 - -

API Documentation

Examples

import json
import requests
from requests.auth import HTTPBasicAuth

url = "http://public.coindaddy.io:4000/api/"
headers = {'content-type': 'application/json'}
auth = HTTPBasicAuth('rpc', '1234')

payload = {
  "method": "get_running_info",
  "params": {},
  "jsonrpc": "2.0",
  "id": 0,
}
response = requests.post(url, data=json.dumps(payload), headers=headers, auth=auth)
print("Response: ", response.text)
<?php
require 'JsonRPC/src/JsonRPC/Client.php';
use JsonRPC\Client;
$client = new Client('http://public.coindaddy.io:4000/api/');
$client->authentication('rpc', '1234');

$result = $client->execute('get_balances', array('filters' => array('field' => 'address', 'op' => '==', 'value' => '1NFeBp9s5aQ1iZ26uWyiK2AYUXHxs7bFmB')));
print("get_balances result:\n");
var_dump($result);

$result2 = $client->execute('get_running_info');
print("get_running_info result:\n");
var_dump($result2);
?>
curl -X POST http://public.coindaddy.io:4000/api/ --user rpc:1234 -H 'Content-Type: application/json; charset=UTF-8' -H 'Accept: application/json, text/javascript' --data-binary '{ "jsonrpc": "2.0", "id": 0, "method": "get_running_info" }'