# 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 object Processing fee policies
fee-free-limit integer Minimum outgoing transaction amount that requires service 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": {
                "fixed": {
                    "regular": 50000,
                    "forwarding": 10000
                },
                "percentage": {
                    "regular": "1%",
                    "forwarding": "1%"
                }
            },
            "fee-free-limit": 30000,
            "dust-rate": 1000
        },
        {
            "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": {
                "fixed": {
                    "regular": 50000,
                    "forwarding": 10000
                },
                "percentage": {
                    "regular": "1%",
                    "forwarding": "1%"
                }
            },
            "fee-free-limit": 30000,
            "dust-rate": 1000
        },
        {
            "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": {
                "fixed": {
                    "regular": 2500000,
                    "forwarding": 500000
                },
                "percentage": {
                    "regular": "1%",
                    "forwarding": "1%"
                }
            },
            "fee-free-limit": 20000000,
            "dust-rate": 1000
        },
        {
            "name": "Bitcoin Cash",
            "abbr": "bch",
            "units": "satoshi",
            "units-factor": 1e-08,
            "address-types": [
                "p2pkh"
            ],
            "default-address-type": "p2pkh",
            "minimal-confirmations": 1,
            "processing-fee": {
                "fixed": {
                    "regular": 500000,
                    "forwarding": 100000
                },
                "percentage": {
                    "regular": "1%",
                    "forwarding": "1%"
                }
            },
            "fee-free-limit": 10000000,
            "dust-rate": 1000
        },
        {
            "name": "Dogecoin",
            "abbr": "doge",
            "units": "satoshi",
            "units-factor": 1e-08,
            "address-types": [
                "p2pkh"
            ],
            "default-address-type": "p2pkh",
            "minimal-confirmations": 1,
            "processing-fee": {
                "fixed": {
                    "regular": 10000000000,
                    "forwarding": 2000000000
                },
                "percentage": {
                    "regular": "1%",
                    "forwarding": "1%"
                }
            },
            "fee-free-limit": 20000000000,
            "dust-rate": 40000000
        },
			{
            "name": "TRON",
            "abbr": "trx",
            "units": "sun",
            "units-factor": 1e-06,
            "address-types": [
                "generic"
            ],
            "default-address-type": "generic",
            "minimal-confirmations": 20,
            "processing-fee": {
                "fixed": {
                    "forwarding": 85000000,
                    "regular": 200000000
                },
                "percentage": {
                    "forwarding": "1%",
                    "regular": "1%"
                }
            },
            "fee-free-limit": 0,
            "dust-rate": 0
        },
        {
            "name": "Tether USD (TRC20)",
            "abbr": "usdt@trx",
            "units": "",
            "units-factor": 1e-06,
            "address-types": [
                "generic"
            ],
            "default-address-type": "generic",
            "minimal-confirmations": 20,
            "processing-fee": {
                "fixed": {
                    "forwarding": 10000000,
                    "regular": 25000000
                },
                "percentage": {
                    "forwarding": "1%",
                    "regular": "1%"
                }
            },
            "fee-free-limit": 0,
            "dust-rate": 0
        }
    ]
}

# Error response

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

Playground