API-Endpoints
getWallet Api

post

getWallet

https://api.wallet.kaiju3d.com/v1/kms/getWallet

This api will provide a wallet (create if not exsit) for the specified blockchain

HEADERS

KeyDescription
authProviderIdRequired. The verifier Id of the associated authProvider.
accessKeyRequired. The access key for the related project.
tokenRequired. The user token generated upon successful login.

BODY PARAMETERS

KeyDescription
emailRequired. The email address of the user.
developerRequired. Boolean value indicating if the user is a developer. This should always be false.
blockchainsRequired. An array containing the blockchains.

RESPONSES TYPES

Status CodeDescription
200Success. The request was processed successfully.
401Unauthorized. The request requires user authentication, typically due to invalid or missing credentials. Ensure that a valid authentication token or credentials are provided.

RESPONSE BODY PARAMETERS

KeyDescription
nameThe name of the user.
emailThe email address of the user.
userProfileImageThe URL of the user's profile image.
blockchainsObject containing wallet addresses for various blockchains such as evm, solana, and xrpl. Currently, only support for the "xrpl". Other types are not available.
blockchains.xrpl.walletAddressThe wallet address for the XRPL Ledger blockchain.

CURL REQUEST

curl --request POST \
     --url https://api.wallet.kaiju3d.com/v1/kms/getWallet \
     --header 'accept: application/json' \
     --header 'accessKey: vj*?pr$1_0fK$7B+p7LbCFQRKUJ=lS1q2w3' \
     --header 'authProviderId: 65fc4fa3d948cc6313aca1200o9i8' \
     --header 'content-type: application/json' \
     --header 'token: eyJhbGciOiJSUzI1NiIsImtpZCI6IjY3NGRiYmE4ZmFlZTY5YWNhZTFiYzFiZTE5MDQ1MzY3OGY0NzI4MDMiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2FjY291bnRzLmdvb2dsZS5jb20iLCJhenAiOiIzMDAzNzIwMzQyMDItY2NidmxsdTE2Z2w4NWswMjEyZmdmaHVtcmZhb3Npa3QuYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJhdWQiOiIzMDAzNzIwMzQyMDItY2NidmxsdTE2Z2w4NWswMjEyZmdmaHVtcmZhb3Npa3QuYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJzdWIiOiIxMTI3MjU4MTQwMzY4MTAxNjI2MjEiLCJlbWFpbCI6ImFwcGthaWp1QGdtYWlsLmNvbSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJhdF9oYXNoIjoiUEVsOEZoeHpLVGxUZzVTeW9PckluZyIsIm5hbWUiOiJLYWlqdSBBcHAiLCJwaWN0dXJlIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXNlcmNvbnRlbnQuY29tL2EvQUNnOG9jTGVIX21PWU9rM0dOOVJqZWJYWVd1WlNXMzFOcGZjOEJUQXJJOUJmeW9HcDlQR2t4ND1zOTYtYyIsImdpdmVuX25hbWUiOiJLYWlqdSIsImZhbWlseV9uYW1lIjoiQXBwIiwiaWF0IjoxNzE3NzI5MTYwLCJleHAiOjE3MTc3MzI3NjB9.bw1IH8tlekgFteySjrbO2k4UR-byiC0PywCK6mz-rcdgnQhfQITL_8GyZNJozs1K2-ldaT0SRkhrErG8WG0CD08bltqD-O5OrUrwQYJO8Rj1u5klgUB44TuF1k8MoEUQ6AmOkiDNd8fbTwl-BDtqzSPmBCEPde6nMlqgmvFDjzKgJvF5P9vMQsiCGX9YjI66tW_pAgNqZFYsdTUKxHBpGTVam7VHoGEPhfN-mZtnd55To6kgWSx_46i4dNJU75h0zfzsPVUWfyIBYOdxAaG4yAn6LjXfxWuOqHH0ZDonT2lxmoAEioru6GlMoSK4SAkF4RgYMrUWKWLzGJQgwHFXgw' \
     --data '
{
  "email": "youremail@gmail.com",
  "developer": false,
  "blockchains": [
    "xrpl"
  ]
}'

RESPONSES

{
    "message": "success",
    "code": 0,
    "data": {
        "name": "your-name",
        "email": "youremail@gmail.com",
        "userProfileImage": "https:your-profile-image",
        "blockchains": {
            "evm": {
                "walletAddress": "",
                "walletAddressOwner": ""
            },
            "evmEOA": {
                "walletAddress": "",
                "walletAddressOwner": ""
            },
            "solana": {
                "walletAddress": "",
                "walletAddressOwner": ""
            },
            "xrpl": {
                "walletAddress": "rB1N4NgBZ5bEBWyE18cgLmvShkdv5acaca2w3e4",
                "walletAddressOwner": ""
            }
        },
        "username": "your-username",
        "ens": "",
        "bio": "",
        "website": {
            "title": "",
            "value": ""
        },
        "instagram": {
            "title": "",
            "value": ""
        },
        "twitter": {
            "title": "",
            "value": ""
        },
        "discord": {
            "title": "",
            "value": ""
        },
        "youtube": {
            "title": "",
            "value": ""
        },
        "linkedin": {
            "title": "",
            "value": ""
        },
        "userLevel": "USER",
        "walletVersion": "v2",
        "publicNFTProfile": true,
        "analytics": false,
        "currency": "USD",
        "developerId": null,
        "isDeveloper": false,
        "userStatus": "active",
        "id": "6651d0beb1727d28266easw11w2e3"
    }
}