跳转到主要内容
GET
Reference example

请求规范

  • 方法与路径: GET /apis/v1/polymarket/transaction
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/polymarket/transaction
  • id: query; 必填
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

公开参考价格:每次成功请求 $0.012 USD。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

查询参数

id
string
必填

Transaction ID

响应

Transaction retrieved successfully

createdAt
string<date-time>

Timestamp when the transaction was created

示例:

"2024-07-14T21:13:08.819782Z"

data
string

Encoded transaction data (0x-prefixed hex string)

示例:

"0x..."

from
string

Ethereum address (0x-prefixed, 40 hex chars)

Pattern: ^0x[a-fA-F0-9]{40}$
示例:

"0x6e0c80c90ea6c15917308F820Eac91Ce2724B5b5"

metadata
string

Transaction metadata

示例:

""

nonce
string

Transaction nonce

示例:

"60"

owner
string

Ethereum address (0x-prefixed, 40 hex chars)

Pattern: ^0x[a-fA-F0-9]{40}$
示例:

"0x6e0c80c90ea6c15917308F820Eac91Ce2724B5b5"

proxyAddress
string

Ethereum address (0x-prefixed, 40 hex chars)

Pattern: ^0x[a-fA-F0-9]{40}$
示例:

"0x6e0c80c90ea6c15917308F820Eac91Ce2724B5b5"

signature
string

Transaction signature (0x-prefixed hex string)

示例:

"0x01a060c734d7bdf4adde50c4a7e574036b1f8b12890911bdd1c1cfdcd77502381b89fa8a47c36f62a0b9f1cdfee7b260fd8108536db9f6b2089c02637e7de9fc20"

state
enum<string>

Current state of the transaction

可用选项:
STATE_NEW,
STATE_EXECUTED,
STATE_MINED,
STATE_CONFIRMED,
STATE_INVALID,
STATE_FAILED
示例:

"STATE_CONFIRMED"

to
string

Ethereum address (0x-prefixed, 40 hex chars)

Pattern: ^0x[a-fA-F0-9]{40}$
示例:

"0x6e0c80c90ea6c15917308F820Eac91Ce2724B5b5"

transactionHash
string

Onchain transaction hash (available once confirmed)

示例:

"0x38cbfbeae8fffa4e2b187ee5978d3ee9cafc53af0363ed90a35b7ea9016535d8"

transactionID
string

Unique identifier for the transaction

示例:

"0190b317-a1d3-7bec-9b91-eeb6dcd3a620"

type
enum<string>

Transaction type

可用选项:
SAFE,
PROXY
示例:

"SAFE"

updatedAt
string<date-time>

Timestamp when the transaction was last updated

示例:

"2024-07-14T21:13:46.576639Z"

value
string

Transaction value

示例:

""