Wallet
Create Local Wallet
API Documentation
General
- POSTAdd LLM Provider
- POSTAdd Ollama Models
- POSTChange Node Name
- GETGet Default Embedding Model
- POSTSet Default Embedding Model
- GETDownload File from Inbox
- GETAPI Health Check
- POSTInitial Registration
- GETCheck Pristine State
- GETList Files in Inbox
- GETGet Local Processing Preference
- POSTSet Local Processing Preference
- POSTModify LLM Provider
- GETGet Public Keys
- POSTRemove LLM Provider
- GETScan Ollama Models
- POSTStop LLM Process
- GETGet Supported Embedding Models
- POSTUpdate Supported Embedding Models
Jobs
- POSTAdd File to Inbox
- GETGet All Inboxes
- GETGet Available LLM Providers
- POSTChange Job LLM Provider
- POSTCreate Files Inbox
- POSTCreate Job
- GETGet Job Configuration
- GETGet Job Scope
- POSTSend Job Message
- POSTGet Last Messages
- POSTGet Last Messages with Branches
- POSTRetry Message
- POSTUpdate Job Configuration
- POSTUpdate Job Scope
- POSTUpdate Smart Inbox Name
Subscriptions
- POSTGet Available Shared Items
- POSTGet Open Shared Items
- POSTCreate Shareable Folder
- POSTGenerate Free Subscription Links
- POSTGet Latest Notifications
- POSTList My Subscribers
- POSTList My Subscriptions
- POSTGet Notifications Before Timestamp
- POSTSubscribe to Shared Folder
- POSTUnshare Folder
- POSTUnsubscribe
- POSTUpdate Shareable Folder
Tool Offerings
Vector File System
Wallet
Create Local Wallet
POST
/
v2
/
create_local_wallet
curl --request POST \
--url http://127.0.0.1:9550/v2/create_local_wallet \
--header 'Content-Type: application/json' \
--data '{
"network": "BaseSepolia",
"role": "Payment"
}'
{
"address": {
"address_id": "<string>",
"network_id": "BaseSepolia",
"public_key": "<string>",
"wallet_id": "<string>"
},
"id": "<string>",
"network": {
"chain_id": 1,
"display_name": "<string>",
"id": "BaseSepolia",
"is_testnet": true,
"native_asset": {
"asset_id": "<string>",
"contract_address": "<string>",
"decimals": 1,
"network_id": "BaseSepolia"
},
"protocol_family": "Evm"
},
"provider_url": "<string>",
"wallet_private_key": "<string>"
}
Generate a new local cryptocurrency wallet within the Shinkai system.
Body
application/json
Response
200
application/json
Successfully created wallet
The response is of type object
.
Was this page helpful?
curl --request POST \
--url http://127.0.0.1:9550/v2/create_local_wallet \
--header 'Content-Type: application/json' \
--data '{
"network": "BaseSepolia",
"role": "Payment"
}'
{
"address": {
"address_id": "<string>",
"network_id": "BaseSepolia",
"public_key": "<string>",
"wallet_id": "<string>"
},
"id": "<string>",
"network": {
"chain_id": 1,
"display_name": "<string>",
"id": "BaseSepolia",
"is_testnet": true,
"native_asset": {
"asset_id": "<string>",
"contract_address": "<string>",
"decimals": 1,
"network_id": "BaseSepolia"
},
"protocol_family": "Evm"
},
"provider_url": "<string>",
"wallet_private_key": "<string>"
}