1btc Chat API

Overview

The 1btc Chat API is a critical component of the 1btc Chat platform, a unique community designed for Bitcoin holders with at least 1 Bitcoin. This API underpins the platform's innovative wallet-first approach, where a user's cryptocurrency address serves as their login identity, offering an added layer of pseudonymity, privacy, and security.

By automating the verification process, the API facilitates a dust transaction method to cryptographically link user accounts and confirm ownership of at least 1 Bitcoin.

This API also allows for independent verification of all relevant data, ensuring transparency and integrity within the 1btc Chat community.

Endpoints

System Info

GET https://1btc-api.console.xyz/

Returns network information and minimum valid BTC balance.

{
    network: string, // "testnet" | "mainnet"
    minValid: string // big number with 8 decimals
}

Account Info

GET https://1btc-api.console.xyz/account/:address

Returns the owner address, randomly generated receive address, origin, and status.

Path Parameters

Name
Type
Description

address*

String

wallet address to check

Request Message

POST https://1btc-api.console.xyz/get-hiro-signature-message

Generates a new signature message for a wallet address.

Request Body

Name
Type
Description

wallet*

String

wallet address

Register Account

POST https://1btc-api.console.xyz/register-hiro

Registers new account using Hiro wallet signature and public key.

Request Body

Name
Type
Description

signature*

String

publicKey*

String

Last updated