Coinbase Developer Documentation home page
Search...
⌘K
Ask AI
Get help
Dev portal
Dev portal
Search...
Navigation
Docs
API Reference
SDKs
SDKs
Introduction
BUILD ONCHAIN
CDP SDKs v2
Python
TypeScript
Overview
CDP Client
Authentication
Index
WebSocket
JWT
Hash
HTTP
Errors
Axios
EVM
Policies
Solana
React
CDP SDKs v1
AgentKit
OnchainKit
MiniKit
CONSUMER APIs
Coinbase Advanced Trade
INSTITUTIONAL APIs
Coinbase Prime
On this page
Functions
authHash()
Parameters
Returns
Authentication
Hash
Copy page
Copy page
Functions
authHash()
Copy
Ask AI
function
authHash
(
data
:
Buffer
)
:
Promise
<
string
>;
Defined in:
utils/hash.ts:14
Auth-specific hash function using uncrypto for Edge runtime compatibility. Computes SHA-256 hash of the given data.
Parameters
data
Buffer
The data to hash
Returns
Promise
<
string
>
Promise that resolves to the hex-encoded hash
Was this page helpful?
Yes
No
Previous
Next
Assistant
Responses are generated using AI and may contain mistakes.