Mintacoin
Search
K
Links
👤

Accounts

Easy access to the fundamental tasks for managing your accounts

Create account

post
https://sandbox.api.mintacoin.co/v1-alpha
/accounts
Creates an account on a blockchain
Parameters Example
{
"blockchain": "stellar"
}
CURL Request
curl -X POST \
-H 'Content-Type: application/json' \
-d '{"blockchain": "stellar"}' \
"https://sandbox.api.mintacoin.co/accounts
Blockchains supported: :stellar

Recover Signature

post
https://sandbox.api.mintacoin.co/v1-alpha
/accounts/:address/recover
Recovers the account signature
Parameters Example
{
"seed_words": "movie enrich merit census grid twice praise return glass wagon yard faint"
}
CURL Request
curl -X POST \
-H 'Content-Type: application/json' \
-d '{"seed_words": "movie enrich merit census grid twice praise return glass wagon yard faint"}' \
"https://sandbox.api.mintacoin.co/accounts/D6J2KKOOXSTOXO36REKBPL3QH4FL2PCFKBK6W3TIOVMHR7DDVLTQ/recover"

Create asset trustline

post
https://sandbox.api.mintacoin.co/v1-alpha
/accounts/:address/assets/:asset_id/trust
Create an asset trustline to allow the account to hold an asset
Parameters Example
{
"signature": "PSUQJNRDUZL7KLGB4O5FMN6M7XH3LTOWWU3IPGVKTWU7IBNHAQNQ"
}
CURL Request
curl -X POST \
-H 'Content-Type: application/json' \
-d '{"signature": "PSUQJNRDUZL7KLGB4O5FMN6M7XH3LTOWWU3IPGVKTWU7IBNHAQNQ"}' \
"https://sandbox.api.mintacoin.co/accounts/YYVLNUJFEW54QZIHWZTIBLAD52M5TSXOJAZP7FYJXC7TM7MQQDLQ/assets/317e8c9c-48ad-4513-8936-32646edbed9b/trust"

Get assets balances

get
https://sandbox.api.mintacoin.co/v1-alpha
/accounts/:address/assets
Retrieve the assets information registered in a Mintacoin account and their balances
CURL Request
curl -X GET \
-H 'Content-Type: application/json' \
"https://sandbox.api.mintacoin.co/accounts/YYVLNUJFEW54QZIHWZTIBLAD52M5TSXOJAZP7FYJXC7TM7MQQDLQ/assets"