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!
Last modified 4mo ago
Copy link