钱包
获取钱包资金
发现哪些地址为Solana钱包提供了初始SOL存款。
GET
/
v1
/
wallet
/
{wallet}
/
funded-by
获取钱包资金来源
curl --request GET \
--url 'https://api.helius.xyz/v1/wallet/{wallet}/funded-by?api-key='import requests
url = "https://api.helius.xyz/v1/wallet/{wallet}/funded-by?api-key="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.helius.xyz/v1/wallet/{wallet}/funded-by?api-key=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.helius.xyz/v1/wallet/{wallet}/funded-by?api-key=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.helius.xyz/v1/wallet/{wallet}/funded-by?api-key="
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.helius.xyz/v1/wallet/{wallet}/funded-by?api-key=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.helius.xyz/v1/wallet/{wallet}/funded-by?api-key=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"funder": "2ojv9BAiHUrvsm9gxDe7fJSzbNZSJcxZvf8dqmWGHG8S",
"mint": "So11111111111111111111111111111111111111112",
"symbol": "SOL",
"amount": 0.05,
"amountRaw": "50000000",
"decimals": 9,
"signature": "5wHu1qwD7Jsj3xqWjdSEJmYr3Q5f5RjXqjqQJ7jqEj7jqEj7jqEj7jqEj7jqEj7jqE",
"timestamp": 1704067200,
"date": "2024-01-01T00:00:00.000Z",
"slot": 250000000,
"explorerUrl": "https://orbmarkets.io/tx/5wHu1qwD7Jsj3xqWjdSEJmYr3Q5f5RjXqjqQJ7jqEj7jqEj7jqEj7jqEj7jqEj7jqE",
"funderName": "Coinbase 2",
"funderType": "exchange"
}{
"error": "无效的钱包地址",
"code": 400,
"details": "'invalid-address'不是有效的Solana地址"
}{
"error": "需要API密钥。通过?api-key=xxx或X-Api-Key头传递",
"code": 401
}{
"error": "无效的钱包地址",
"code": 400,
"details": "'invalid-address' 不是有效的 Solana 地址"
}{
"error": "RATE_LIMIT_EXCEEDED",
"code": 429,
"details": "请求过多。请在 2 秒后重试。"
}{
"error": "INTERNAL_ERROR",
"code": 500,
"details": "发生意外错误。请重试。"
}每个请求需要 100 积分。
需要付费方案。免费方案的请求返回
403 Forbidden。
请求参数
string
默认值:"86xCnPeV69n6t3DnyGvkKobf9FdN2H9oiVDdaMpo2MMY"
必填
Solana 钱包地址(base58 编码)
授权
ApiKeyQueryApiKeyHeader
作为查询参数传递的API密钥
路径参数
Solana钱包地址(base58编码)
Pattern:
^[1-9A-HJ-NP-Za-km-z]{32,44}$响应
资金来源已识别
最初为此钱包提供资金的地址
示例:
"2ojv9BAiHUrvsm9gxDe7fJSzbNZSJcxZvf8dqmWGHG8S"
代币铸造地址(对于SOL为So11111111111111111111111111111111111111112)
示例:
"So11111111111111111111111111111111111111112"
代币符号
示例:
"SOL"
初始资金金额(可读,单位为SOL)
示例:
0.05
最小单位的原始资金金额(SOL的lamports)
示例:
"50000000"
代币小数位数
示例:
9
资金转移的交易签名
示例:
"5wHu1qwD7Jsj3xqWjdSEJmYr3Q5f5RjXqjqQJ7jqEj7jqEj7jqEj7jqEj7jqEj7jqE"
以秒为单位的Unix时间戳
示例:
1704067200
ISO 8601格式的人类可读UTC日期
示例:
"2024-01-01T00:00:00.000Z"
槽号
示例:
250000000
交易的Solana Explorer URL
示例:
"https://orbmarkets.io/tx/5wHu1qwD7Jsj3xqWjdSEJmYr3Q5f5RjXqjqQJ7jqEj7jqEj7jqEj7jqEj7jqEj7jqE"
如果是已知实体,提供资金者的名称
示例:
"Coinbase 2"
提供资金实体的类型
示例:
"exchange"
此页面对您有帮助吗?
⌘I
获取钱包资金来源
curl --request GET \
--url 'https://api.helius.xyz/v1/wallet/{wallet}/funded-by?api-key='import requests
url = "https://api.helius.xyz/v1/wallet/{wallet}/funded-by?api-key="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.helius.xyz/v1/wallet/{wallet}/funded-by?api-key=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.helius.xyz/v1/wallet/{wallet}/funded-by?api-key=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.helius.xyz/v1/wallet/{wallet}/funded-by?api-key="
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.helius.xyz/v1/wallet/{wallet}/funded-by?api-key=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.helius.xyz/v1/wallet/{wallet}/funded-by?api-key=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"funder": "2ojv9BAiHUrvsm9gxDe7fJSzbNZSJcxZvf8dqmWGHG8S",
"mint": "So11111111111111111111111111111111111111112",
"symbol": "SOL",
"amount": 0.05,
"amountRaw": "50000000",
"decimals": 9,
"signature": "5wHu1qwD7Jsj3xqWjdSEJmYr3Q5f5RjXqjqQJ7jqEj7jqEj7jqEj7jqEj7jqEj7jqE",
"timestamp": 1704067200,
"date": "2024-01-01T00:00:00.000Z",
"slot": 250000000,
"explorerUrl": "https://orbmarkets.io/tx/5wHu1qwD7Jsj3xqWjdSEJmYr3Q5f5RjXqjqQJ7jqEj7jqEj7jqEj7jqEj7jqEj7jqE",
"funderName": "Coinbase 2",
"funderType": "exchange"
}{
"error": "无效的钱包地址",
"code": 400,
"details": "'invalid-address'不是有效的Solana地址"
}{
"error": "需要API密钥。通过?api-key=xxx或X-Api-Key头传递",
"code": 401
}{
"error": "无效的钱包地址",
"code": 400,
"details": "'invalid-address' 不是有效的 Solana 地址"
}{
"error": "RATE_LIMIT_EXCEEDED",
"code": 429,
"details": "请求过多。请在 2 秒后重试。"
}{
"error": "INTERNAL_ERROR",
"code": 500,
"details": "发生意外错误。请重试。"
}