FakeFork API Documentation

FakeFork provides some simple API calls to help you use FakeFork in your game, software, or bot. Use these calls to get details about your wallet or address.

Pull details for a wallet

[GET] https://fakefork.com/api/wallet/[wallet-uuid]

If you know your wallet uuid, use this call to pull the wallet balance, settings, as well as listing the recipients in the wallet.

Example Response

{
    "data": {
        "wallet": {
            "uuid": "6bd81970-8d4b-11ea-bf60-03e5e62b3535",
            "name": "Live tester",
            "nano_address": "nano_35ujas6amsk7niuak3bdstk5ep3gbr71znc5g4nsef8xu99yrade8o4a6xjn",
            "currency_name": "Gold",
            "conversion_wallet_amount": "100000",
            "conversion_nano_amount": "1",
            "conversion_nano_unit": "ticker",
            "recipient_data": {
                "nano_31som8fezsjs441tg8nuah5f59ejehfmxwfsryann4x1c5eu3w39omzbxbpn": {
                    "name": "Bill"
                },
                "nano_3ka84awawkhtb5uxe5f47dyjwherqyedwhszixeaceg3hz3dm765jx3kgh5x": {
                    "name": "Bob"
                },
                "nano_31srphe3mbmkfeg3wwbn4i3ir78zt6oh3o4wrbii36umbytiowydwoa5m1w3": {
                    "name": "Jim"
                }
            },
            "current_nano_balance": 7.0e+27,
            "current_balance": 700
        },
        "recipients": [
            {
                "name": "Bill",
                "address": "nano_31som8fezsjs441tg8nuah5f59ejehfmxwfsryann4x1c5eu3w39omzbxbpn",
                "nano_balance": "900000000000000000000000000",
                "balance": 90
            },
            {
                "name": "Bob",
                "address": "nano_3ka84awawkhtb5uxe5f47dyjwherqyedwhszixeaceg3hz3dm765jx3kgh5x",
                "nano_balance": "1000000000000000000000000000",
                "balance": 100
            },
            {
                "name": "Jim",
                "address": "nano_31srphe3mbmkfeg3wwbn4i3ir78zt6oh3o4wrbii36umbytiowydwoa5m1w3",
                "nano_balance": "1100000000000000000000000000",
                "balance": 110
            }
        ]
    }
}

Pull details for a Nano Address

[GET] https://fakefork.com/api/address/[address]

Using this call, you can check an address and see if this address is the starting point for a wallet, or if it has recieved funds from a FakeFork wallet.

Example Response

{
    "data": {
        "address": "nano_31som8fezsjs441tg8nuah5f59ejehfmxwfsryann4x1c5eu3w39omzbxbpn",
        "wallets": [],
        "received": [
            {
                "uuid": "6bd81970-8d4b-11ea-bf60-03e5e62b3535",
                "name": "DnD Session"
            }
        ]
    }
}