Aptos

Martian wallet

You can set your Martian wallet to interact through your Aptos nodes deployed with Chainstack.

  1. Open your Martian wallet and click the network selector.

  2. In the network selector, click ADD CUSTOM NETWORK.

  3. In the Enter Node Url field, enter the endpoint. See also node access details.

  4. In the Enter Faucet Url field, enter the Aptos testnet faucet URL.

  5. Click ADD NETWORK.

REST API

Interact with your Aptos node using the Aptos Node API.

Use your Chainstack Aptos REST endpoint. Example to get block information by block height:

curl --request GET \
  --url YOUR_CHAINSTACK_ENDPOINT/v1/blocks/by_height/2047048\
  --header 'Content-Type: application/json'

where YOUR_CHAINSTACK_ENDPOINT is your HTTPS endpoint protected either with the key or password