For the complete documentation index, see llms.txt. This page is also available as Markdown.

查询基础版地址信息

得到基础版地址信息

get
Path parameters
addressstringRequired

波场地址

Header parameters
CF-ACCESS-KEYstringRequired

The API Access key as a string API所使用的KEY

Example: your api key
CF-ACCESS-SIGNstringRequired

The Base64-encoded signature (see signing messages subsection for details) 使用HMAC SHA256哈希函数获得哈希值,再使用Base-64编码(请参阅签名)

Example: signature
CF-ACCESS-TIMESTAMPstringRequired

The UTC timestamp of your request .e.g : 2008-08-08T08:08:08.888Z 发起请求的时间(UTC),如:2008-08-08T08:08:08.888Z

Responses
200

OK

application/json
codeinteger · int32Optional

成功返回0,其他均为错误

msgstringOptional

发生错误时候返回的消息

sub_codestringOptional
sub_msgstringOptional
get/v1/mate/open/basic/{address}
GET /v1/mate/open/basic/{address} HTTP/1.1
Host: api.catfee.io
CF-ACCESS-KEY: text
CF-ACCESS-SIGN: text
CF-ACCESS-TIMESTAMP: text
Accept: */*
200

OK

{
  "code": 1,
  "msg": "text",
  "sub_code": "text",
  "sub_msg": "text",
  "data": {
    "id": 1,
    "address": "text",
    "plan_id": 1,
    "plan_name_en": "text",
    "plan_name_zh": "text",
    "plan_subscription_sun": 1,
    "plan_unit_sun": 1,
    "quota_mode": "UNLIMITED",
    "slot_next_billing_timestamp": 1,
    "quantity": 1,
    "used_quantity": 1,
    "quota_count": 1,
    "used_count": 1,
    "quota_start_time": 1,
    "total_transfer_count": 1,
    "total_energy_count": 1,
    "total_slot_fee": 1,
    "total_energy_fee": 1,
    "remark": "text",
    "is_auto_closable": true,
    "idle_hours": 1,
    "bandwidth_guarantee": true,
    "status": "ACTIVE",
    "expired_at": 1,
    "created_at": 1
  }
}

地址状态

返回数据中的 status 表示基础版地址的当前状态。

字段及取值
含义

status=ACTIVE

正常,地址服务已启用。

status=PAUSED

欠费暂停。

status=MANUAL_PAUSED

人工暂停。

status=API_PAUSED

通过 API 暂停。

status=UNUSED_PAUSED

因闲置未使用而自动暂停。

status=QUOTA_PAUSED

配额用尽,暂停服务。

status=EXPIRED_PAUSED

地址已过期,暂停服务。

配额模式

返回数据中的 quota_mode 表示基础版地址的配额限制方式。

字段及取值
含义

quota_mode=UNLIMITED

不受配额限制。

quota_mode=TRANSFER_QUOTA

按转账次数限制,每笔 USDT 转账计 1 次。

quota_mode=ENERGY_QUOTA

按能量次数限制:向有 USDT 的账户转账计 1 次,向无 USDT 的账户转账计 2 次。

在 TRANSFER_QUOTA 和 ENERGY_QUOTA 模式下,quota_count 为总配额次数,used_count 为已使用次数;达到配额上限后,地址暂停自动补能。具体计数规则参见波场伴侣。

Last updated