跳转至主要内容

Aptos QuickStart

更新于
Aug 07, 2026

The quickest way to start building on Aptos with Quicknode is by sending a REST API request to your endpoint. In this guide, you'll create an endpoint, copy its provider URL, and make your first request. Code samples are available in cURL as well as popular SDKs and programming languages.

Get Your Aptos Endpoint

1

创建一个Quicknode

如果您尚未注册,请在此注册。

2

前往您的仪表盘

从左侧边栏菜单中打开“端点”仪表板,以管理您所有的区块链端点

3

创建一个新的endpoint

Click Create an Endpoint in the top-right corner, select Aptos as your blockchain, then select your preferred network

4

复制您的服务提供商网址

请将该 HTTP URL 备好。您将在下文的请求中用到它。

了解有关仪表板的更多信息

如需了解Quicknode 详细操作指南,请参阅我们的 指南

发送您的第一个请求

Your endpoint is ready. Now, let's make your first call to the Aptos blockchain. We'll use the v1 method, which returns information about the Aptos node. 选择您首选的语言或SDK 按照以下步骤发送您的第一个请求.


1

检查 cURL 的安装情况

大多数基于 *nix 的系统默认都支持 cURL。打开终端,运行以下命令即可查看 cURL 的版本:

curl --version
2

Send a REST API request

In your terminal, copy and paste the following cURL command to check if the Aptos node is healthy:

curl -X 'GET' 'YOUR_QUICKNODE_ENDPOINT_URL/v1/-/healthy' \
-H 'Content-Type: application/json'
3

示例回答

{
"message": "aptos-node:ok"
}

如果您想进一步了解如何发送 API 请求,请查看我们的指南示例应用