Sign Up

Log In


By jseims
Updated a month ago
Popularity Score
Success Rate

TrustedCoin API Documentation

Trusted Coin is a Bitcoin transaction cosigning service. Users of this API can create M-of-N multisignature P2SH addresses (where Trusted Coin acts as one of the cosigners). The policy logic Trusted Coin should apply when deciding if to cosign (and thus approve) individual transactions is user configurable. Via this mechanism higher-level services can be built including wallet protection schemes and escrow.

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub

Creates a cosigner enforcing a particular policy.

Sign up to test this endpoint
Log in
Header Parameters
Required Parameters
REQUIREDThe policy the cosigner should apply when deciding to sign a transaction or not. See the policy section for more information.
REQUIREDThe first key in the M-of-N policy. This is a public key that corresponds to a private key that you control. This must be sent in hex-encoded SEC format (compressed and uncompressed varieties are both supported). Note: bitcoin addresses are not public keys - they are hashes of public keys. If you are using bitcoin-qt, you can use the "validateaddress" command line option to determine the public key associated with an address managed by your wallet. Example: 0345fb7c9a8eb70e9c83d5695cf6d93c5453ed83456badf166ebb77bf8b923e74f
Optional Parameters
OPTIONALThe second public key in the M-of-N policy. If provided, the P2SH multisignature requirement will be 2-of-3, otherwise it will be 2-of-2. The format of this key is the same as primary_key.
Request Snippet"")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
Sample Response


Log inSign up

Install SDK for NodeJS


To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request"")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication

Sign up for free

to test this endpoint

Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard