Action Reverse Proxy
Action method in Reverse Proxy :
- BINANCE (BSC)
- BITCOIN (BTC)
- ETHEREUM (ETH)
- POLYGON (POL)
- SOLANA (SOL)
Payload Data
Name | Data Type |
---|---|
PathDestination | String |
Data | String |
CommandType | String |
Time | String |
ModuleId | String |
Property | String |
Signature | String |
BINANCE (BSC)
Example Request
{
"Subject":"ewallet",
"SubjectType":"reverseproxy",
"SubjectIdentifier":"bsc",
"Action":"post",
"ResourceType":"data",
"Resource":"header",
"ResourceId":"{ \"Accept\":[ \"*/*\" ], \"Connection\":[ \"keep-alive\" ], \"Host\":[ \"localhost:5001\" ], \"User-Agent\":[ \"PostmanRuntime/7.32.2\" ], \"Accept-Encoding\":[ \"gzip, deflate, br\" ], \"Cache-Control\":[ \"no-cache\" ], \"Content-Type\":[ \"application/json\" ], \"Content-Length\":[ \"66\" ], \"Postman-Token\":[ \"d12224cc-99dd-4c34-a1b3-a85757153759\" ], \"TestParamHeader1\":[\"Value Prop1\"], \"SampleHeaderParam2\":[\"Value Prop1\"] }",
"Data":{
"PathDestination":"",
"Data":"{ \"jsonrpc\":\"2.0\", \"method\":\"eth_gasPrice\", \"params\":[], \"id\":73 }",
"CommandType":"post",
"Time":null,
"ModuleId":null,
"Property":{
},
"Signature":null
}
}
BITCOIN (BTC)
Example Request
{
"Subject":"ewallet",
"SubjectType":"reverseproxy",
"SubjectIdentifier":"btc",
"Action":"post",
"ResourceType":"data",
"Resource":"header",
"ResourceId":"{ \"Accept\":[ \"*/*\" ], \"Connection\":[ \"keep-alive\" ], \"Host\":[ \"localhost:5001\" ], \"User-Agent\":[ \"PostmanRuntime/7.32.2\" ], \"Accept-Encoding\":[ \"gzip, deflate, br\" ], \"Cache-Control\":[ \"no-cache\" ], \"Content-Type\":[ \"application/json\" ], \"Content-Length\":[ \"122\" ], \"Postman-Token\":[ \"d12224cc-99dd-4c34-a1b3-a85757153759\" ], \"HeaderProp1\":[\"Value Prop1\"], \"HeaderProp2\":[\"Value Prop1\"]}",
"Data":{
"PathDestination":"",
"CommandType":"post",
"Data":"{ \"jsonrpc\": \"1.0\", \"id\": \"curltest\", \"method\": \"getblockstats\", \"params\": [ 789971 ] }",
"Time":null,
"ModuleId":null,
"Property":{},
"Signature":null
}
}
ETHEREUM (ETH)
Example Request
{
"Subject":"ewallet",
"SubjectType":"reverseproxy",
"SubjectIdentifier":"eth",
"Action":"post",
"ResourceType":"data",
"Resource":"header",
"ResourceId":"{ \"Accept\":[ \"*/*\" ], \"Connection\":[ \"keep-alive\" ], \"Host\":[ \"localhost:5001\" ], \"User-Agent\":[ \"PostmanRuntime/7.32.2\" ], \"Accept-Encoding\":[ \"gzip, deflate, br\" ], \"Cache-Control\":[ \"no-cache\" ], \"Content-Type\":[ \"application/json\" ], \"Content-Length\":[ \"151\" ], \"Postman-Token\":[ \"d12224cc-99dd-4c34-a1b3-a85757153759\" ] }",
"Data":{
"PathDestination":"",
"CommandType":"post",
"Data":"{ \"method\": \"eth_getTransactionByHash\", \"params\": [ \"0xb1fac2cb5074a4eda8296faebe3b5a3c10b48947dd9a738b2fdf859be0e1fbaf\" ], \"id\": 1, \"jsonrpc\": \"2.0\" }",
"Time":null,
"ModuleId":null,
"Property":{
},
"Signature":null
}
}
POLYGON (POL)
Example Request
{
"Subject":"ewallet",
"SubjectType":"reverseproxy",
"SubjectIdentifier":"pol",
"Action":"post",
"ResourceType":"data",
"Resource":"header",
"ResourceId":"{ \"Accept\":[ \"*/*\" ], \"Connection\":[ \"keep-alive\" ], \"Host\":[ \"localhost:5001\" ], \"User-Agent\":[ \"PostmanRuntime/7.32.2\" ], \"Accept-Encoding\":[ \"gzip, deflate, br\" ], \"Cache-Control\":[ \"no-cache\" ], \"Content-Type\":[ \"application/json\" ], \"Content-Length\":[ \"184\" ], \"Postman-Token\":[ \"d12224cc-99dd-4c34-a1b3-a85757153759\" ], \"HeaderProp1\":[\"Value Prop1\"], \"HeaderProp2\":[\"Value Prop1\"] }",
"Data":{
"PathDestination":"",
"CommandType":"post",
"Data":"{\"method\":\"eth_estimateGas\",\"params\":[{\"from\":\"0x8D97689C9818892B700e27F316cc3E41e17fBeb9\",\"to\":\"0xd3CdA913deB6f67967B99D67aCDFa1712C293601\",\"value\":\"0x186a0\"}],\"id\":1,\"jsonrpc\":\"2.0\"}",
"Time":null,
"ModuleId":null,
"Property":{
},
"Signature":null
}
}
SOLANA (SOL)
Example Request
{
"Subject":"ewallet",
"SubjectType":"reverseproxy",
"SubjectIdentifier":"sol",
"Action":"post",
"ResourceType":"data",
"Resource":"header",
"ResourceId":"{ \"Accept\":[ \"*/*\" ], \"Connection\":[ \"keep-alive\" ], \"Host\":[ \"localhost:5001\" ], \"User-Agent\":[ \"PostmanRuntime/7.32.2\" ], \"Accept-Encoding\":[ \"gzip, deflate, br\" ], \"Cache-Control\":[ \"no-cache\" ], \"Content-Type\":[ \"application/json\" ], \"Content-Length\":[ \"184\" ], \"Postman-Token\":[ \"d12224cc-99dd-4c34-a1b3-a85757153759\" ], \"HeaderProp1\":[\"Value Prop1\"], \"HeaderProp2\":[\"Value Prop1\"] }",
"Data":{
"Data":"{ \"jsonrpc\": \"2.0\", \"id\": 1, \"method\": \"getBalance\", \"params\": [ \"83astBRguLMdt2h5U1Tpdq5tjFoJ6noeGwaY3mDLVcri\" ] }",
"CommandType":"post",
"Time":null,
"ModuleId":null,
"Property":{
},
"Signature":null
}
}