Solana

Get or Create Solana Account

Create a new solana wallet in the vault or return the existing wallet for a given label.

post/v1/solana/accounts

Request

  • Base URL: https://engine.thirdweb.com (the document declares no server; this is the origin it was published from)
  • URL: https://engine.thirdweb.com/v1/solana/accounts
  • Auth: API key in header x-secret-key

Headers

x-vault-access-tokenstring

Vault Access Token used to access your EOA

Request body

labelstring required

Response

Solana account retrieved

Example response

{
  "result": {
    "publicKey": "8JBLmveV4YF5AQ7EVnKJgyj6etGgVkPp3tYqQMTu3p5B"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.