# Lighthouse VC Endpoints This is the list of endpoints that are currently working (to some degree) in https://github.com/sigp/lighthouse/pull/1347. **Note: none of the signature headers have been implemented yet.** ## POST `localhost:5054/wallets` Create new wallet. If the request `seed` is not supplied, a mnemonic will be returned in the response `mnemonic`. This allows the UI to generate a mnemonic-based seed, if it wishes. ### Request Body ```json { "wallet_name": "api_test3", "seed": 0x12345689012345689012345689012 } ``` ### Response Body ```json { "wallet_name": "api_test3", "mnemonic": null } ``` ## GET `localhost:5054/wallets` List all current wallets. ### Request Body NA ### Response Body ```json [ "wally", "api_test", ] ``` ## POST `localhost:5054/validators/create/wallet` Create a new validator, using an existing wallet. ### Request Body ```json { "wallet_name": "api_test", "validator_desc": "test", "deposit_gwei": 42 } ``` ### Response Body ```json { "voting_pubkey": "0xa8cc927c33126c0343582d0873c6d688764cd6285d930556beb549a5c40f4e6f0580679996e751795ca48bd0c1b395cd", "eth1_deposit_data": { "rlp": "0x22895118000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120544014ec68b8600750ba57c1a26a84bd215f028248ea87c692bebae19bbba3bd0000000000000000000000000000000000000000000000000000000000000030a8cc927c33126c0343582d0873c6d688764cd6285d930556beb549a5c40f4e6f0580679996e751795ca48bd0c1b395cd0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200043eb5eb105c6cf74f54d30b7c1c83d40fdbe2401996da11a065142cc918f980000000000000000000000000000000000000000000000000000000000000060af2d0310974b986468b800966d551c0d6e5cbe47f650a36965aa8cf37680c1109484f0fd3fcb40f4f889fa16504bb78d0f6854b8e8973d8149bac70afc20ea10c50034a40befb66e2fe13cc29aed92d148d088be1ae9db14d0c26460d4375701", "deposit_data": { "pubkey": "0xa8cc927c33126c0343582d0873c6d688764cd6285d930556beb549a5c40f4e6f0580679996e751795ca48bd0c1b395cd", "withdrawal_credentials": "0x0043eb5eb105c6cf74f54d30b7c1c83d40fdbe2401996da11a065142cc918f98", "amount": 42, "signature": "0xaf2d0310974b986468b800966d551c0d6e5cbe47f650a36965aa8cf37680c1109484f0fd3fcb40f4f889fa16504bb78d0f6854b8e8973d8149bac70afc20ea10c50034a40befb66e2fe13cc29aed92d148d088be1ae9db14d0c26460d4375701" }, "root": "0x544014ec68b8600750ba57c1a26a84bd215f028248ea87c692bebae19bbba3bd" } } ```