Getting Started

Authentication

All API requests must be authenticated using HMAC-SHA512 signatures. Never expose your private key in client-side code.

Try It Out

Enter your payload and private key to see how signatures are generated in real-time.

Enter the full URL including query parameters

page=1&limit=10

This is the query string extracted from the URL that will be signed

Your key is processed locally in your browser and never sent to any server

Enter your private key above to generate a signature
curl -X GET "https://api.blockfuze.com/Api/Account/Balance?page=1&limit=10" \
  -H "x-public-key: YOUR_PUBLIC_KEY" \
  -H "x-signature: GENERATED_SIGNATURE"

Required Headers

Every API request must include these headers:

HeaderDescription
x-public-keyYour API public key
x-signatureHMAC-SHA512 signature (hex encoded)
Content-Typeapplication/json (for POST requests)

Signing Process

Follow these steps to create a valid signature:

  1. Prepare the payload

    For GET requests, use the query string without the "?" prefix. For POST requests, use the raw JSON body.

  2. Create HMAC-SHA512 hash

    Use your private key to create an HMAC-SHA512 hash of the payload.

  3. Encode as hexadecimal

    Convert the hash to a lowercase hexadecimal string for the x-signature header.

GET Request Signature

Sign the query string without the leading "?". If no query parameters, sign an empty string.

text
Query String: page=1&limit=10
Private Key: your-private-key
 
Payload to sign: "page=1&limit=10"
Result: HMAC-SHA512(privateKey, "page=1&limit=10") hex string

POST Request Signature

Sign the exact JSON body string. Any difference in formatting will cause authentication to fail.

text
Body: {"address":"0x742d35Cc...","amount":"1.5"}
Private Key: your-private-key
 
Payload to sign: '{"address":"0x742d35Cc...","amount":"1.5"}'
Result: HMAC-SHA512(privateKey, bodyString) hex string

IP Whitelisting

For additional security, configure IP whitelisting in your dashboard. Requests from non-whitelisted IPs will receive an "Request IP not in allow list" error.

Next Steps

Explore the API endpoints.