Read Wallet Details

To read the details of a wallet send, a GET request to the /wallet/<wallet_name> endpoint.

Read wallet details

GET https://api.playfix.io/wallet/<wallet_name>

Path Parameters

Name
Type
Description

wallet_name*

String

Name of the wallet to update. This should be the value of name from a previously created wallet. It begins with "wallets/" followed by a ULID.

Headers

Name
Type
Description

Authorization*

String

Bearer <your_access_token>

{
  "name": "wallets/01ggpkj6gs2qtaykq4v6dqy16x",
  "title": "Moonar",
  "description": "My moon game wallet.",
  "project": "<project_name>",
  "network": "NETWORK_POLYGON_MUMBAI",
  "address": "0xfa3492e3044AF1e70e8Be6cD3ff80CAB582B2Dd5",
  "password": ""
}

Example cURL Call

curl --request GET \
  --url 'https://api.playfix.io/wallet/<wallet_name>' \
  --header 'Authorization: Bearer <your_access_token>'

Example Python API Call

import requests

r = requests.get(
    "https://api.playfix.io/wallet/<wallet_name>",
    headers={
        "authorization": "Bearer <your_access_token>"
        }
    )

print(r.text)

Response

{
  "name": "wallets/01ggpkj6gs2qtaykq4v6dqy16x",
  "title": "Moonar",
  "description": "My moon game wallet.",
  "project": "<project_name>",
  "network": "NETWORK_POLYGON_MUMBAI",
  "address": "0xfa3492e3044AF1e70e8Be6cD3ff80CAB582B2Dd5",
  "password": ""
}

The response fields are the same as in the wallet creation process.

Last updated