//Request
curl -X POST --data '{
"jsonrpc": "2.0",
"method": "platform.createAddress",
"params": {
"username":"myUsername",
"password":"myPassword"
},
"id": 1
}' -H 'content-type:application/json;' http://ava-api-p-chain.bwarelabs.com/<your-endpoint-id>/ext/bc/P
//Response
{
"jsonrpc": "2.0",
"result": {
"address": "P-avax12lqey27sfujqq6mc5a3jr5av56cjsu8hg2d3hx"
},
"id": 1
}