Query parameter signing
Sign your URL query parameters
How to generate a signature
Examples
Signing walletAddress
import crypto from "crypto";
const url = 'https://blockchain.com/pay/widget'
const walletAddress = "address";
const walletAddressSignature = crypto
.createHmac("sha256", "secret-api-key")
.update(walletAddress)
.digest("hex");
const finalUrl = `${url}?walletAddress=${walletAddress}&walletAddressSignature=${walletAddressSignature}`Signing redirectUrl
Last updated