# Service info

This API method is used to get information about our general services such as a wallet and an account.

# Request

  • HTTP Method: OPTIONS
  • URL: https://apirone.com/api/v2/{wallets|accounts}

# Request example

curl -X OPTIONS 'https://apirone.com/api/v2/wallets'
curl -X OPTIONS 'https://apirone.com/api/v2/accounts'

# Success Response Reference

Parameter Type Description
supported-fee-policies array A list of supported fee policies
currencies array Information about each supported cryptocurrency

Element currencies

Parameter Type Description
name string The full name of the cryptocurrency
abbr string Cryptocurrency abbreviation
units number The minimal unit used for cryptocurrency
units-factor number Factor for minimal unit
address-types string Supported type of addresses
default-address-type string The default type of new address. If no type was set when generating a new address, the default type is used
minimal-confirmations number Default number of blocks sufficient for transaction confirmation
processing-fee integer Processing fee
fee-free-limit integer Minimum outgoing transaction amount that requires fee charging

# Response example:

{
    "supported-fee-policies": [
        "normal",
        "priority",
        "custom"
    ],
    "currencies": [
        {
            "name": "Bitcoin",
            "abbr": "btc",
            "units": "satoshi",
            "units-factor": 1e-08,
            "address-types": [
                "p2pkh",
                "p2pkh(c)",
                "p2wpkh",
                "p2sh-p2wpkh"
            ],
            "default-address-type": "p2sh-p2wpkh",
            "minimal-confirmations": 1,
            "processing-fee": 10000,
            "fee-free-limit": 50000
        },
        {
            "name": "Bitcoin (testnet)",
            "abbr": "tbtc",
            "units": "satoshi",
            "units-factor": 1e-08,
            "address-types": [
                "p2pkh",
                "p2pkh(c)",
                "p2wpkh",
                "p2sh-p2wpkh"
            ],
            "default-address-type": "p2sh-p2wpkh",
            "minimal-confirmations": 1,
            "processing-fee": 10000,
            "fee-free-limit": 50000
        },
        {
            "name": "Litecoin",
            "abbr": "ltc",
            "units": "satoshi",
            "units-factor": 1e-08,
            "address-types": [
                "p2pkh",
                "p2pkh(c)",
                "p2wpkh",
                "p2sh-p2wpkh"
            ],
            "default-address-type": "p2pkh",
            "minimal-confirmations": 1,
            "processing-fee": 125000,
            "fee-free-limit": 750000
        },
        {
            "name": "Bitcoin Cash",
            "abbr": "bch",
            "units": "satoshi",
            "units-factor": 1e-08,
            "address-types": [
                "p2pkh"
            ],
            "default-address-type": "p2pkh",
            "minimal-confirmations": 1,
            "processing-fee": 100000,
            "fee-free-limit": 500000
        },
        {
            "name": "Dogecoin",
            "abbr": "doge",
            "units": "satoshi",
            "units-factor": 1e-08,
            "address-types": [
                "p2pkh"
            ],
            "default-address-type": "p2pkh",
            "minimal-confirmations": 1,
            "processing-fee": 300000000,
            "fee-free-limit": 1000000000
        }
    ]
}

# Error response

  • HTTP Status Code: 400 500
  • Content Type: application/json

Playground