Get Blockchains
curl --request GET \
--url https://api.yiksipay.com/v1/blockchains \
--header 'x-api-key: <api-key>'import requests
url = "https://api.yiksipay.com/v1/blockchains"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.yiksipay.com/v1/blockchains', 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.yiksipay.com/v1/blockchains",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.yiksipay.com/v1/blockchains"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.yiksipay.com/v1/blockchains")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.yiksipay.com/v1/blockchains")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"createdAt": "2024-05-14T11:53:33.095Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "85ffc132-3972-4c9e-99a5-5cf0ccb688bf",
"isActive": true,
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/dkgdc1vnl/image/upload/v1771444998/crypto-assets/ethereum.png",
"name": "ethereum",
"slug": "ethereum",
"symbol": "eth",
"tokenStandard": "ERC20",
"updatedAt": "2024-11-26T13:04:13.936Z"
},
{
"createdAt": "2024-05-14T11:53:33.106Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "b80d3d5e-16f1-4d99-be5e-6dfcd27f89aa",
"isActive": true,
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/dkgdc1vnl/image/upload/v1771445000/crypto-assets/bnb-smart-chain.png",
"name": "BNB smart chain",
"slug": "bnb-smart-chain",
"symbol": "bnb",
"tokenStandard": "BEP20",
"updatedAt": "2024-11-26T13:04:13.941Z"
},
{
"createdAt": "2024-05-14T11:53:33.108Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "ed5bb330-e0e1-480b-a788-e5dc5b019140",
"isActive": true,
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/dkgdc1vnl/image/upload/v1771444999/crypto-assets/polygon.png",
"name": "polygon",
"slug": "polygon",
"symbol": "matic",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.942Z"
},
{
"createdAt": "2024-05-14T11:53:33.110Z",
"derivationPath": "m/44'/195'/0'/0",
"id": "fa91a922-3838-45f6-8a88-a4c771e1443a",
"isActive": true,
"isEvmCompatible": false,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/dkgdc1vnl/image/upload/v1771444999/crypto-assets/tron.png",
"name": "tron",
"slug": "tron",
"symbol": "trx",
"tokenStandard": "TRC20",
"updatedAt": "2024-11-26T13:04:13.943Z"
},
{
"createdAt": "2024-05-27T08:31:14.966Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "74733889-4ecd-403e-9840-94e87c043f24",
"isActive": true,
"isEvmCompatible": true,
"isL2": true,
"logoUrl": "https://res.cloudinary.com/dkgdc1vnl/image/upload/v1771445007/crypto-assets/base.png",
"name": "base",
"slug": "base",
"symbol": "eth",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.945Z"
},
{
"createdAt": "2024-10-07T16:09:49.760Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "dbd35ce3-8526-45d0-9e35-d80d7141f959",
"isActive": true,
"isEvmCompatible": true,
"isL2": true,
"logoUrl": "https://res.cloudinary.com/dkgdc1vnl/image/upload/v1771445008/crypto-assets/arbitrum.png",
"name": "arbitrum",
"slug": "arbitrum",
"symbol": "eth",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.946Z"
},
{
"createdAt": "2024-10-07T16:09:49.784Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "1c9ca9df-325f-4b60-a7ec-b28d2235e0b7",
"isActive": true,
"isEvmCompatible": true,
"isL2": true,
"logoUrl": "https://res.cloudinary.com/dkgdc1vnl/image/upload/v1771445010/crypto-assets/optimism.png",
"name": "optimism",
"slug": "optimism",
"symbol": "eth",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.947Z"
},
{
"createdAt": "2024-10-22T10:57:33.465Z",
"derivationPath": "m/44'/501'/0'",
"id": "196badf5-380f-4480-ab4a-d0e4304e91f0",
"isActive": true,
"isEvmCompatible": false,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/dkgdc1vnl/image/upload/v1771445011/crypto-assets/solana.png",
"name": "solana",
"slug": "solana",
"symbol": "sol",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.951Z"
},
{
"createdAt": "2024-12-01T10:49:23.684Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "180ca354-5a13-41d7-bf01-9fb5281ab541",
"isActive": true,
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/dkgdc1vnl/image/upload/v1771445015/crypto-assets/asset-chain.png",
"name": "asset chain",
"slug": "asset-chain",
"symbol": "rwa",
"tokenStandard": null,
"updatedAt": "2024-12-01T10:49:23.684Z"
}
],
"message": "Blockchains retrieved successfully",
"statusCode": 200
}Diversos
Get Blockchains
This endpoint retrieves a list of supported blockchains by Yiksi Pay
GET
/
v1
/
blockchains
Get Blockchains
curl --request GET \
--url https://api.yiksipay.com/v1/blockchains \
--header 'x-api-key: <api-key>'import requests
url = "https://api.yiksipay.com/v1/blockchains"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.yiksipay.com/v1/blockchains', 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.yiksipay.com/v1/blockchains",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.yiksipay.com/v1/blockchains"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.yiksipay.com/v1/blockchains")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.yiksipay.com/v1/blockchains")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"createdAt": "2024-05-14T11:53:33.095Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "85ffc132-3972-4c9e-99a5-5cf0ccb688bf",
"isActive": true,
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/dkgdc1vnl/image/upload/v1771444998/crypto-assets/ethereum.png",
"name": "ethereum",
"slug": "ethereum",
"symbol": "eth",
"tokenStandard": "ERC20",
"updatedAt": "2024-11-26T13:04:13.936Z"
},
{
"createdAt": "2024-05-14T11:53:33.106Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "b80d3d5e-16f1-4d99-be5e-6dfcd27f89aa",
"isActive": true,
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/dkgdc1vnl/image/upload/v1771445000/crypto-assets/bnb-smart-chain.png",
"name": "BNB smart chain",
"slug": "bnb-smart-chain",
"symbol": "bnb",
"tokenStandard": "BEP20",
"updatedAt": "2024-11-26T13:04:13.941Z"
},
{
"createdAt": "2024-05-14T11:53:33.108Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "ed5bb330-e0e1-480b-a788-e5dc5b019140",
"isActive": true,
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/dkgdc1vnl/image/upload/v1771444999/crypto-assets/polygon.png",
"name": "polygon",
"slug": "polygon",
"symbol": "matic",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.942Z"
},
{
"createdAt": "2024-05-14T11:53:33.110Z",
"derivationPath": "m/44'/195'/0'/0",
"id": "fa91a922-3838-45f6-8a88-a4c771e1443a",
"isActive": true,
"isEvmCompatible": false,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/dkgdc1vnl/image/upload/v1771444999/crypto-assets/tron.png",
"name": "tron",
"slug": "tron",
"symbol": "trx",
"tokenStandard": "TRC20",
"updatedAt": "2024-11-26T13:04:13.943Z"
},
{
"createdAt": "2024-05-27T08:31:14.966Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "74733889-4ecd-403e-9840-94e87c043f24",
"isActive": true,
"isEvmCompatible": true,
"isL2": true,
"logoUrl": "https://res.cloudinary.com/dkgdc1vnl/image/upload/v1771445007/crypto-assets/base.png",
"name": "base",
"slug": "base",
"symbol": "eth",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.945Z"
},
{
"createdAt": "2024-10-07T16:09:49.760Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "dbd35ce3-8526-45d0-9e35-d80d7141f959",
"isActive": true,
"isEvmCompatible": true,
"isL2": true,
"logoUrl": "https://res.cloudinary.com/dkgdc1vnl/image/upload/v1771445008/crypto-assets/arbitrum.png",
"name": "arbitrum",
"slug": "arbitrum",
"symbol": "eth",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.946Z"
},
{
"createdAt": "2024-10-07T16:09:49.784Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "1c9ca9df-325f-4b60-a7ec-b28d2235e0b7",
"isActive": true,
"isEvmCompatible": true,
"isL2": true,
"logoUrl": "https://res.cloudinary.com/dkgdc1vnl/image/upload/v1771445010/crypto-assets/optimism.png",
"name": "optimism",
"slug": "optimism",
"symbol": "eth",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.947Z"
},
{
"createdAt": "2024-10-22T10:57:33.465Z",
"derivationPath": "m/44'/501'/0'",
"id": "196badf5-380f-4480-ab4a-d0e4304e91f0",
"isActive": true,
"isEvmCompatible": false,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/dkgdc1vnl/image/upload/v1771445011/crypto-assets/solana.png",
"name": "solana",
"slug": "solana",
"symbol": "sol",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.951Z"
},
{
"createdAt": "2024-12-01T10:49:23.684Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "180ca354-5a13-41d7-bf01-9fb5281ab541",
"isActive": true,
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/dkgdc1vnl/image/upload/v1771445015/crypto-assets/asset-chain.png",
"name": "asset chain",
"slug": "asset-chain",
"symbol": "rwa",
"tokenStandard": null,
"updatedAt": "2024-12-01T10:49:23.684Z"
}
],
"message": "Blockchains retrieved successfully",
"statusCode": 200
}Autorizações
Resposta
200 - application/json
200
Show child attributes
Show child attributes
Exemplo:
[
{
"createdAt": "2024-05-14T11:53:33.095Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "85ffc132-3972-4c9e-99a5-5cf0ccb688bf",
"isActive": true,
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/dkgdc1vnl/image/upload/v1771444998/crypto-assets/ethereum.png",
"name": "ethereum",
"slug": "ethereum",
"symbol": "eth",
"tokenStandard": "ERC20",
"updatedAt": "2024-11-26T13:04:13.936Z"
},
{
"createdAt": "2024-05-14T11:53:33.106Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "b80d3d5e-16f1-4d99-be5e-6dfcd27f89aa",
"isActive": true,
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/dkgdc1vnl/image/upload/v1771445000/crypto-assets/bnb-smart-chain.png",
"name": "BNB smart chain",
"slug": "bnb-smart-chain",
"symbol": "bnb",
"tokenStandard": "BEP20",
"updatedAt": "2024-11-26T13:04:13.941Z"
},
{
"createdAt": "2024-05-14T11:53:33.108Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "ed5bb330-e0e1-480b-a788-e5dc5b019140",
"isActive": true,
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/dkgdc1vnl/image/upload/v1771444999/crypto-assets/polygon.png",
"name": "polygon",
"slug": "polygon",
"symbol": "matic",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.942Z"
},
{
"createdAt": "2024-05-14T11:53:33.110Z",
"derivationPath": "m/44'/195'/0'/0",
"id": "fa91a922-3838-45f6-8a88-a4c771e1443a",
"isActive": true,
"isEvmCompatible": false,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/dkgdc1vnl/image/upload/v1771444999/crypto-assets/tron.png",
"name": "tron",
"slug": "tron",
"symbol": "trx",
"tokenStandard": "TRC20",
"updatedAt": "2024-11-26T13:04:13.943Z"
},
{
"createdAt": "2024-05-27T08:31:14.966Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "74733889-4ecd-403e-9840-94e87c043f24",
"isActive": true,
"isEvmCompatible": true,
"isL2": true,
"logoUrl": "https://res.cloudinary.com/dkgdc1vnl/image/upload/v1771445007/crypto-assets/base.png",
"name": "base",
"slug": "base",
"symbol": "eth",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.945Z"
},
{
"createdAt": "2024-10-07T16:09:49.760Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "dbd35ce3-8526-45d0-9e35-d80d7141f959",
"isActive": true,
"isEvmCompatible": true,
"isL2": true,
"logoUrl": "https://res.cloudinary.com/dkgdc1vnl/image/upload/v1771445008/crypto-assets/arbitrum.png",
"name": "arbitrum",
"slug": "arbitrum",
"symbol": "eth",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.946Z"
},
{
"createdAt": "2024-10-07T16:09:49.784Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "1c9ca9df-325f-4b60-a7ec-b28d2235e0b7",
"isActive": true,
"isEvmCompatible": true,
"isL2": true,
"logoUrl": "https://res.cloudinary.com/dkgdc1vnl/image/upload/v1771445010/crypto-assets/optimism.png",
"name": "optimism",
"slug": "optimism",
"symbol": "eth",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.947Z"
},
{
"createdAt": "2024-10-22T10:57:33.465Z",
"derivationPath": "m/44'/501'/0'",
"id": "196badf5-380f-4480-ab4a-d0e4304e91f0",
"isActive": true,
"isEvmCompatible": false,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/dkgdc1vnl/image/upload/v1771445011/crypto-assets/solana.png",
"name": "solana",
"slug": "solana",
"symbol": "sol",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.951Z"
},
{
"createdAt": "2024-12-01T10:49:23.684Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "180ca354-5a13-41d7-bf01-9fb5281ab541",
"isActive": true,
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/dkgdc1vnl/image/upload/v1771445015/crypto-assets/asset-chain.png",
"name": "asset chain",
"slug": "asset-chain",
"symbol": "rwa",
"tokenStandard": null,
"updatedAt": "2024-12-01T10:49:23.684Z"
}
]
Exemplo:
"Blockchains retrieved successfully"
Exemplo:
200

