website logo
WebsiteTry DashboardContact Sales
⌘K
πŸ‘‹Welcome to mintBlue!
❓Why Use mintBlue?
🧧mintBlue Products
⛓️Enterprise Bitcoin
πŸš€Introduction
πŸ‘‰mintBlue Quick Start Guide
πŸ”—Setting up Zapier & mintBlue
πŸŽ‡mintBlue SDK
πŸ‘‰SDK Quick Start Guide
πŸ—οΈSDK Encryption
πŸ“©Envelopes
πŸ–₯️SDK Server
πŸ“SDK Scripts
πŸ“–mintBlue API
⏹️Blockchain API
πŸ“‘Token API
πŸ–₯️mintBlue Console
πŸ‘‚Event Listeners
πŸ†Examples of Building with mintBlue
πŸ”‘password manager
πŸ“ƒNotary Express App
Docs powered byΒ archbeeΒ 
9min

SDK Server

mintBlue offers its' SDK functionality through a REST API. This SDK Server allows you to use the functionalities of the SDK, without having to integrate the SDK package in your solution. It's particulary meant to decrease implementation time and allow an easy way to set up proof of concepts, but also to easily integrate the functionality into non-JavaScript environments.

You can find the full specification of the SDK hereο»Ώ

JSON-RPC

The SDK Server implements a JSON-RPC specification, so there are a uniform set of methods that clients can rely on. JSON-RPC is a stateless, light-weight remote procedure call (RPC) protocol. It defines several data structures and the rules around their processing. MintBlue clients using the SDK server may utilize different programming languages when implementing the JSON-RPC specification.

More about the JSON-RPC specification can be found hereο»Ώ

Connecting the SDK Server

Check the ο»ΏmintBlue Quick Start Guide for more information on creating access tokens and projects

You can find the SDK Server at http://api.mintblue.com/sdk

The SDK Server uses SDK tokens for authentication. Provide the SDK token in your HTTP headers under key mintblue-sdk-token. Make sure your content-type is set to application/json. Below, an example request is shown.

Curl
|
ο»Ώ

All buffer values need to be converted to base64, and provided as a string preceded by base64:

Example: "base64:ZXhhbXBsZSB0ZXh0IGJhc2U2NCBmb3JtYXQ="

Example

Create a Peppol Transaction

In this example we create a Peppol Output on the blockchain, using the SDK Server over JSON-RPC.

Curl
|
ο»Ώ

List a Project's Transactions

Curl
|
ο»Ώ

Decode and Decrypt a Transaction

Curl
|
ο»Ώ

ο»Ώ

Updated 08 Feb 2023
Did this page help you?
Yes
No
UP NEXT
SDK Scripts
Docs powered byΒ archbeeΒ 
TABLE OF CONTENTS
JSON-RPC
Connecting the SDK Server
Example
Create a Peppol Transaction
List a Project's Transactions
Decode and Decrypt a Transaction