Create a new asset
Get Started
Essentials
API Reference
- GETList all assets
- POSTCreate a new asset
- GETGet details of a specific asset
- PUTRename an existing asset
- DELDelete an asset
- GETList all projects
- POSTCreate a new project
- GETGet details of a specific project
- PUTRename an existing project
- GETList transactions for a wallet
- POSTRun a new transaction between two wallets
- POSTSeed a new transaction to a system wallet
- GETGet user plan
- POSTCreate a new wallet
- GETList customer wallets
- PUTChange wallet status
- GETList system wallets
- GETGet wallet details
- POSTPost webhook
Create a new asset
POST
/
assets
curl --request POST \
--url http://localhost:4000/assets \
--header 'Content-Type: application/json' \
--header 'api_key: <api_key>' \
--data '{
"fractions": 123,
"name": "<string>",
"projectId": 123,
"symbol": "<string>"
}'
{
"created_at": "<string>",
"fractions": 123,
"id": "<string>",
"name": "<string>",
"owner": "<string>",
"symbol": "<string>",
"updated_at": "<string>"
}
Headers
Body
application/json
Response
200
application/json
Success response
The response is of type object
.
curl --request POST \
--url http://localhost:4000/assets \
--header 'Content-Type: application/json' \
--header 'api_key: <api_key>' \
--data '{
"fractions": 123,
"name": "<string>",
"projectId": 123,
"symbol": "<string>"
}'
{
"created_at": "<string>",
"fractions": 123,
"id": "<string>",
"name": "<string>",
"owner": "<string>",
"symbol": "<string>",
"updated_at": "<string>"
}