Kalp Wallet OpenAPI provides an API that allows users to create and manage different types of wallets programmatically. The API supports the creation of self-custodial, MPC (Multi-Party Computation), and custodial wallets.
curl -i -X POST \ https://kalp-studio.redocly.app/_mock/untitled-1.yaml/wallet/create-mnemonics \ -H 'Content-Type: application/json' \ -H 'apikey: 31a057fa-a9eb-4527-b3df-b7a6f79fab6c' \ -d '{ "blockchain": "ETH", "network": "SEPOLIA", "userId": "31a057fa-a9eb-4527-b3df-b7a6f79fab6c", "walletType": "SELF_CUSTODIAL" }'
{ "message": "success", "result": "key better reunion pact real soap cream fish basic crumble globe diagram", "status": 200 }
curl -i -X POST \ https://kalp-studio.redocly.app/_mock/untitled-1.yaml/wallet/create-wallet \ -H 'Content-Type: application/json' \ -H 'apikey: {{apiKey}}'
{ "message": "success", "result": { "address": "0x65A0fA104d569Bc1f6955784C02bA0ca9c9Ee081", "balance": "0.0", "publicKey": "0x04eaa83117f36750f18f10c7118472f2dfef7ba148b5431a70148f15d316fa202c0f466bf54c49f0b38e788b90dfe424aeff6c578ec55c65ca22f1f9103d012481", "userShard": "CAGAoT8lCi8X85CS9XUUsIRP7WnShfmKDc77WqTCMyn9ZWhJN+GvBFqGVk8dMvEQD0mWkUUzjhcTkdUs0ReYXLAIBao9Mr/i8LHxNgwupY5bEdaMmjSQMQG8yMKkf3WovYCsBWHpVMykueLaKxU/wYEC1ko0Rb/7e5BleY4ykPA+Kvf7lWyx4cCmZ9C/ma1qllw=" }, "status": 200 }
curl -i -X POST \ https://kalp-studio.redocly.app/_mock/untitled-1.yaml/auth/google/verify \ -H 'Content-Type: application/json' \ -H 'apikey: {{apiKey}}' \ -d '{ "subId": "sdjdafnaknffdafdafdafdafda", "userId": "9c1d4102-650f-47f5-bc34-222960cdad7d" }'
{ "message": "success", "result": { "status": { … } }, "status": 200 }
curl -i -X POST \ https://kalp-studio.redocly.app/_mock/untitled-1.yaml/auth/email/send \ -H 'Content-Type: application/json' \ -H 'apikey: {{apiKey}}'
{ "message": "success", "result": { "status": { … } }, "status": 200 }
curl -i -X POST \ https://kalp-studio.redocly.app/_mock/untitled-1.yaml/auth/email/verify \ -H 'Content-Type: application/json' \ -H 'apikey: {{apiKey}}' \ -d '{ "email": "jayantk7722@gmail.com", "otp": "998707", "userId": "709d7259-5b09-4252-9fa9-2a1f1ddae5b6" }'
{ "message": "success", "result": { "status": { … } }, "status": 200 }
curl -i -X POST \ https://kalp-studio.redocly.app/_mock/untitled-1.yaml/auth/phone/send \ -H 'Content-Type: application/json' \ -H 'apikey: {{apiKey}}' \ -d '{ "countryCode": "91", "phone": "7011094328", "userId": "aac40ea5-8218-4634-8a85-9446236d47ce" }'
{ "message": "success", "result": { "status": { … } }, "status": 200 }
curl -i -X POST \ https://kalp-studio.redocly.app/_mock/untitled-1.yaml/auth/phone/verify \ -H 'Content-Type: application/json' \ -H 'apikey: {{apiKey}}' \ -d '{ "countryCode": "91", "otp": "319239", "phone": "7011094328", "userId": "aac40ea5-8218-4634-8a85-9446236d47ce" }'
{ "message": "success", "result": { "status": { … } }, "status": 200 }
curl -i -X POST \ https://kalp-studio.redocly.app/_mock/untitled-1.yaml/auth/mpc/verify \ -H 'Content-Type: application/json' \ -H 'apikey: {{apiKey}}' \ -d '{ "isInternalWallet": false, "userId": "e4ccf0d3-5db9-4d65-a8dc-d48a2611781a", "userIndentifier": "sdjdafnaknffddeafdafdafdafda" }'
{ "message": "success", "result": { "status": { … } }, "status": 200 }
curl -i -X POST \ https://kalp-studio.redocly.app/_mock/untitled-1.yaml/wallet/send-contract-deploy-request \ -H 'Content-Type: multipart/form-data' \ -H 'apikey: {{apiKey}}' \ -F address=0xb4295b46DA1d9460419a1487b838CB776b5B2068 \ -F blockchain=POLY \ -F network=AMOY \ -F solFile=string \ -F userIndentity=sdjdafnaknffdafdafdafdafda \ -F 'userShard=CAG26qxJo/WnzfQl8POPeEILG4ieRyUm5tqK7jP4o1PC8u9u6/2DtxOC2B6Mq2w8sPCkAp66k3G/XRTiTtuF2QlgBCM2LaJWuJd8iyUZiF7T/uNlZ+e6Rc0jUkOvkVLKt6JVubqA24mJo0K0sK3wK4eRoSa4hsXuiv+XjnsXiWmMnIJ+93fsOhWzQcYSMOBR1SE='
{ "message": "success", "result": { "blockchain": "POLY", "blockchainUrl": "https://www.oklink.com/amoy/tx/0xd1aecffc30b47d5a5e3807440783f597f55325ee7161242c1f4f6581825dc8a4", "contractAddress": "0x240fADAdD962171E7633Fa4EE4b0da5E0Ea0529A", "contractName": "MultiFunctionContract", "fromAddress": "0xb4295b46DA1d9460419a1487b838CB776b5B2068", "gasPrice": 25.000000015, "gasUsed": 407396, "network": "AMOY", "status": "COMPLETED", "toAddress": "0x240fADAdD962171E7633Fa4EE4b0da5E0Ea0529A", "transactionHash": "0xd1aecffc30b47d5a5e3807440783f597f55325ee7161242c1f4f6581825dc8a4", "transactionType": "CONTRACT_DEPLOYMENT" }, "status": 200 }