Bware Docs
Home
Twitter
Linkedin
Telegram
Search…
About Bware Labs Decentralized API
API Docs
Ethereum API
Binance Smart Chain API
Avalanche API
X-Chain
C-Chain
P-Chain
Keystore API
Health API
Admin API
Info API
Metrics API
Moonbeam/Moonriver API
Astar/Shiden APIs
Fantom API
Polkadot API
Elrond API
Tutorials
Using Bware Labs Platform
Using Bware Labs Endpoint in PolkadotJs
Using Bware Labs Endpoint in Metamask
Using a Bware Labs endpoint in code
Powered By
GitBook
X-Chain
Endpoints
/ext/bc/X
to interact with the X-Chain.
/ext/bc/blockchainID
to interact with other AVM instances, where
blockchainID
is the ID of a blockchain running the AVM.
Example Method
avm.createAddress
Create a new address controlled by the given user.
Example Call
1
//Request
2
curl
-X POST --data
'{
3
"jsonrpc": "2.0",
4
"method": "avm.createAddress",
5
"params": {
6
"username":"User",
7
"password":"PassPass"
8
},
9
"id": 1
10
}' -H
'content-type:application/json;'
https://ava-api-x-chain.bwarelabs.com/
<
your-endpoint-id
>
/ext/bc/X
11
12
//Response
13
{
14
"jsonrpc"
:
"2.0"
,
15
"result"
:
{
16
"address"
:
"X-avax12c6n252g5v3w6a6v69f0mnnzwr77jxzr3q3u7d"
17
}
,
18
"id"
:
1
19
}
Copied!
API Docs - Previous
Avalanche API
Next
C-Chain
Last modified
1yr ago
Copy link
Contents
Endpoints
Example Method
Example Call