ElvenOpenApi
  1. v3
ElvenOpenApi
  • 开发指南
    • 接口调试方法
    • 开发前必读
    • 签名生成算法
  • 接口列表
    • v3
      • 导入交易
        POST
      • 创建entityAccount
        POST
      • 创建source
        POST
      • 查询entityAccount
        GET
      • 查询source
        GET
      • 查询platform
        GET
      • 查询currency
        GET
      • 导入余额记录
        POST
      • 创建对手方
        POST
      • 添加业务数据
        POST
      • 导入价格
        POST
      • 导入trade交易
        POST
      • 导入Galn/loss交易
        POST
      • 导入业务数据
        POST
      • 导入业务余额数据
        POST
  1. v3

查询source

GET
/open/v3/transaction/source

请求参数

Query 参数

Header 参数

Body 参数application/json

示例
{
    "entityAccountId": "A6U9PbCi6iOu4HLR0p8cB5kJ9lVae1gM",
    "sourceId": "uw5tdTez5AqVfwESl1eUYXDosJPk4GyH-2345",
    "list": [
        {
            "direction": "IN",
            "amount": 10,
            "currency": "BTC",
            "transactionID": "0xaaa",
            "type": "CHAIN_TRANSFER_IN",
            "datetime": "2024-01-01 01:11:11",
            "counterpartyAccountNo": "0xsss",
            "memo": ""
        }
    ]
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://openapi.elven.com/open/v3/transaction/source?page=1&limit=10' \
--header 'ELVEN-API-KEY;' \
--header 'ELVEN-API-TIMESTAMP;' \
--header 'ELVEN-API-SIGN;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "entityAccountId": "A6U9PbCi6iOu4HLR0p8cB5kJ9lVae1gM",
    "sourceId": "uw5tdTez5AqVfwESl1eUYXDosJPk4GyH-2345",
    "list": [
        {
            "direction": "IN",
            "amount": 10,
            "currency": "BTC",
            "transactionID": "0xaaa",
            "type": "CHAIN_TRANSFER_IN",
            "datetime": "2024-01-01 01:11:11",
            "counterpartyAccountNo": "0xsss",
            "memo": ""
        }
    ]
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "status": "success",
    "data": {
        "sourceId": 1008,
        "entityId": 371,
        "type": "API",
        "sourceName": "test-sourcename",
        "address": "",
        "cardNumber": "",
        "exchangeUserId": "",
        "apiKey": "",
        "apiSecret": "",
        "entityFileId": 0,
        "passphrase": "",
        "purpose": "OPERATING",
        "platformId": 14,
        "transactionOption": null,
        "syncLog": "",
        "syncStatus": "WAITING",
        "transactionCount": 0,
        "dateEndpoint": null,
        "updatedAt": "2023-09-27T08:32:32.559Z",
        "createdAt": "2023-09-27T08:32:32.559Z",
        "timeExceeded": false,
        "regeneration": false,
        "deletedAt": null,
        "entityAccount": null
    }
}
修改于 2025-01-13 08:08:12
上一页
查询entityAccount
下一页
查询platform
Built with