curl --request POST \
  --url https://api.turnkey.com/public/v1/query/get_wallet \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --header "X-Stamp: <string> (see Authorizations)" \
  --data '{
    "organizationId": "<string>",
    "walletId": "<string>"
}'
{
  "wallet": {
    "walletId": "<string>",
    "walletName": "<string>",
    "createdAt": {
      "seconds": "<string>",
      "nanos": "<string>"
    },
    "updatedAt": {
      "seconds": "<string>",
      "nanos": "<string>"
    },
    "exported": "<boolean>",
    "imported": "<boolean>"
  }
}
POST
/
public
/
v1
/
query
/
get_wallet

Authorizations

X-Stamp
string
required
Cryptographically signed (stamped) request to be passed in as a header. For more info, see here.

Body

organizationId
string
required
Unique identifier for a given Organization.
walletId
string
required
Unique identifier for a given Wallet.

Response

A successful response returns the following fields:
wallet
object
required
wallet field
curl --request POST \
  --url https://api.turnkey.com/public/v1/query/get_wallet \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --header "X-Stamp: <string> (see Authorizations)" \
  --data '{
    "organizationId": "<string>",
    "walletId": "<string>"
}'
{
  "wallet": {
    "walletId": "<string>",
    "walletName": "<string>",
    "createdAt": {
      "seconds": "<string>",
      "nanos": "<string>"
    },
    "updatedAt": {
      "seconds": "<string>",
      "nanos": "<string>"
    },
    "exported": "<boolean>",
    "imported": "<boolean>"
  }
}