RaaS API
Sign up
POST https://raas.bvm.network/api/account/sign-up
payload:
{
"tcAddress": string,
"password": string
}
response:
{
"error": string,
"result": string // bearer token string
}Example:
POST https://raas.bvm.network/api/account/sign-up
payload:
{
"tcAddress": "0x7f4e115041c5a0985458911bc8f2d5eb24e8b987,
"password": "BVM12345"
}
response:
{
"error": "",
"result": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjU1MzMyNjIsInRjX2FkZHJlc3MiOiIweDdGNGUxMTUwNDFDNWE1MUE1NDU4OTExYkM4ZjJENUViMjRlOGJGOTcifQ.qX-Q5HQqLVfU5bm9e1HXlsxqjKaJnYRGV9U9_XY6LYA"
}Log in
To re-obtain the access token if needed.
Example:
Get user information to obtain the payment address
You will need to send BVM to that address to pay for rollups you launch on the BVM platform.
Example:
Launch a rollup
Make sure you have sufficiently deposited BVM into the payment address you obtained in the previous step.
Example:
In case the payment wallet address doesn’t have sufficient BVM, the api will return an error along with topup information as follows:
Get rollup info
Example:
Last updated