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
P-Chain
Path
1
/ext/P
Copied!
Methods
platform.createAddress
Example Call
1
//Request
2
curl
-X POST --data
'{
3
"jsonrpc": "2.0",
4
"method": "platform.createAddress",
5
"params": {
6
"username":"myUsername",
7
"password":"myPassword"
8
},
9
"id": 1
10
}' -H
'content-type:application/json;'
http://ava-api-p-chain.bwarelabs.com/
<
your-endpoint-id
>
/ext/bc/P
11
12
//Response
13
14
{
15
"jsonrpc"
:
"2.0"
,
16
"result"
:
{
17
"address"
:
"P-avax12lqey27sfujqq6mc5a3jr5av56cjsu8hg2d3hx"
18
}
,
19
"id"
:
1
20
}
Copied!
Previous
C-Chain
Next
Keystore API
Last modified
1yr ago
Copy link
Contents
Path
Methods
Example Call