How to Connect to Aptos

In this guide, you'll learn the following connection methods to the Aptos infrastructure:

👍

Learn more about Aptos infrastructure here.


How to Access Aptos Credentials

📘

Info:

If you haven't configured a node, learn how to deploy one here.

  1. Log into the Blockdaemon app.
  2. Select Dedicated Nodes from the sidebar menu
  3. Go to the My Nodes tab and select the Aptos node you want to connect to.
  4. Navigate to the Connect tab, where you’ll find:
    1. Endpoint URL
    2. Auth String
    3. Auth Token

Please reach out to [email protected] or your Customer Success Manager for support.


How to Connect to Aptos REST via cURL

curl --request GET \
  --url https://YOUR_ENDPOINT_URL/v1/blocks/by_height/HEIGHT_HERE \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_AUTH_TOKEN' 

How to Connect to Aptos REST via cURL (auth URl)

curl --request GET \
  --url https://YOUR_ENDPOINT_URL/v1/blocks/by_height/HEIGHT_HERE?auth=YOUR_AUTH_TOKEN \
  --header 'Content-Type: application/json'  

👋 Need Help?

Contact us through email or our support page for any issues, bugs, or assistance you may need.