Sign Base64-encoded message
Changed onSigns an arbitrary Base64 encoded message with the given Solana account. WARNING: Never sign a message that you didn't generate as it may put your funds at risk.
Request
- Base URLhttps://api.cdp.coinbase.com/platform
- Auth
- HTTP bearer
- or HTTP bearer
Path parameters
The ID of the end user.
Query parameters
The ID of the CDP Project. Required for end users authenticated using custom auth (i.e. a non-CDP JWT provider).
Headers
A JWT signed using your Wallet Secret, encoded in base64. Refer to the Generate Wallet Token section of our Authentication docs for more details on how to generate your Wallet Token.
An optional string request header for making requests safely retryable. When included, duplicate requests with the same key will return identical responses. Refer to our Idempotency docs for more information on using idempotency keys.
A JWT signed using your Wallet Secret, encoded in base64. Refer to the Generate Wallet Token section of our Authentication docs for more details on how to generate your Wallet Token.
Request body
The base58 encoded address of the Solana account belonging to the end user.
The base64 encoded arbitrary message to sign.
Required when not using delegated signing. The ID of the Temporary Wallet Secret that was used to sign the X-Wallet-Auth Header.
Example request
{
"address": "HpabPRRCFbBKSuJr5PdkVvQc85FyxyTWkFM2obBRSvHT",
"message": "SGVsbG8sIHdvcmxk",
"walletSecretId": "e051beeb-7163-4527-a5b6-35e301529ff2"
}Response
Successfully signed message.
The signature of the message, as a base58 encoded string.
Example response
{
"signature": "4YecmNqVT9QFqzuSvE9Zih3toZzNAijjXpj8xupgcC6E4VzwzFjuZBk5P99yz9JQaLRLm1K4L4FpMjxByFxQBe2h"
}Changes
- warning
added the new
policy_not_applicableenum value to theerrorTyperesponse property for the response status - warning
added the new
policy_not_applicableenum value to theerrorTyperesponse property for the response status - warning
added the new
policy_not_applicableenum value to theerrorTyperesponse property for the response status
7 more changes in this revision
- warning