Solana Accounts

Get Solana account by address

Changed on

Gets a Solana account by its address.

get/v2/solana/accounts/{address}

Request

  • Base URL
    https://api.cdp.coinbase.com/platform
  • Auth
    HTTP bearer

Path parameters

address, string required

The base58 encoded address of the Solana account.

Response

Successfully got Solana account.

SolanaAccount required
address, string required

The base58 encoded Solana address.

name, string

An optional name for the account. Account names can consist of alphanumeric characters and hyphens, and be between 2 and 36 characters long. Account names are guaranteed to be unique across all Solana accounts in the developer's CDP Project.

policies, string[]

The list of policy IDs that apply to the account. This will include both the project-level policy and the account-level policy, if one exists.

createdAt, string date-time

The ISO 8601 UTC timestamp at which the account was created.

updatedAt, string date-time

The ISO 8601 UTC timestamp at which the account was last updated.

Example response

{
  "address": "HpabPRRCFbBKSuJr5PdkVvQc85FyxyTWkFM2obBRSvHT",
  "name": "my-account",
  "policies": [
    "123e4567-e89b-12d3-a456-426614174000"
  ],
  "createdAt": "2025-03-25T12:00:00Z",
  "updatedAt": "2025-03-26T12:00:00Z"
}

Changes

    • warning

      added the new policy_not_applicable enum value to the errorType response property for the response status

    • warning

      added the new policy_not_applicable enum value to the errorType response property for the response status

    • warning

      added the new policy_not_applicable enum value to the errorType response property for the response status

    2 more changes in this revision