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

Address

Module endpoints

GET /addresses

GET https://api.slyk.io/addresses

Returns a paginated list of addresses.

Name

Type

Example

address

like

filter[address]=1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2

assetCode

= in nin

filter[assetCode]=in:BTC

walletId

= in nin

filter[walletId]=in:3cfd3110-0b19-4e57-a1db-60f7fd602ebc,69d6ecb8-5248-4602-8754-4572a0e2042c

The address filter performs a SQL query using the like operator.

Name

Example

createdAt

sort=createdAt sort=-createdAt

Name

Description

Example

size

Defines the number of results per page. Default = 30.

page[size]=2

number

Defines the number of the page to retrieve. Default = 1

page[number]=2

{
  "data": [
    {
      "address": "1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2",
      "assetCode": "btc",
      "createdAt": "2019-06-20T14:30:37.483Z",
      "customData": { 
        "name": "Main BTC address" 
      }
      "metadata": {},
      "updatedAt": "2019-06-20T14:30:37.483Z",
      "walletId": "00697fea-f309-4b5e-99cc-f480cc9fc424"
    },
    {
      "address": "0xe167954e37d028564907442e8FA2512b5Ffd2c1F",
      "assetCode": "eth",
      "createdAt": "2019-06-20T14:30:37.483Z",
      "customData": { 
        "name": "Main ETH address" 
      }
      "metadata": {},
      "updatedAt": "2019-06-20T14:30:37.483Z",
      "walletId": "00697fea-f309-4b5e-99cc-f480cc9fc424"
    }
  ],
  "total": 2
}

GET /addresses/:address

GET https://api.slyk.io/addresses/:address

Returns the address details of the given address.

{
  "data": {
    "address": "1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2",
    "assetCode": "btc",
    "createdAt": "2019-06-21T14:30:37.483Z",
    "customData": { 
        "name": "Main BTC address" 
      }
    "metadata": {},
    "updatedAt": "2019-06-21T14:30:37.483Z",
    "walletId": "f2519340-3aaf-4101-8e66-3324fb0da0eb"
  }
}

POST /addresses

POST https://api.slyk.io/addresses

Creates a new address.

Name

Type

Required

Description

address

string

true if provider is not given

Address identifier.

assetCode

string

true if provideris given

Asset code.

customData

object

false

Can store any additional information.

provider

string

true if address is not given

Address provider.

walletId

string

false

Identifier of the wallet the address will belong to. Format: uuid.

Provider

Available Assets

coinbase

bch, btc, dai, eth, etc, ltc and usdc

In order to use the coinbase provider its payment method has to be configured and enabled on the dashboard.

Last updated