Configuration object containing API secret or Ed25519 private key.
ISO-8601 timestamp matching the X-OC-TIMESTAMP header.
Uppercase HTTP method (e.g. GET, POST).
URL path plus raw query string, exactly as sent on the wire.
The raw request body, or '' for methods without a body.
A base64-encoded signature for the X-OC-SIGN header.
Generates a Binance Web3 signature.
The prehash is the concatenation of
timestamp,method,requestPath, andbodywith no separators. The output is base64-encoded. Two key types are supported:apiSecret.privateKey.