BuildBear
contract_platform: buildbear
contract_platform_id: 10
All BuildBear Private Testnet are recognized with the platform_id
as 10
{{contract_chain_id}
All Private Testnets created on BuildBear have a unique name/id. This name is available from either the (a) RPC link, the (b) Explorer Link, or the (c) Faucet Link generated by BuildBear. Sample Screenshot from BuildBear below:
For the Testnet: Accepted Mace Windu
the explorer link is https://explorer.buildbear.io/Accepted_Mace_Windu_2561384
thus the {{
contract_chain_id}}
is Accepted_Mace_Windu_2561384
Use either contract platform or ID, and contract chain or ID for the HTTP API.
Http API Example:
curl --location --request GET 'https://api.solidityscan.com/api/v1/<scan_type>/<contract_platform_id>/<contract_chain_id>/0x4ee38aa8d7449a177119e983610D73e9ace932dA' \
--header 'Authorization: Token {{token}}'
Websocket Message Example:
{
"action": "message",
"payload": {
"type": "<ws_scan_type>",
"body": {
"contract_address": "0xc2498D4fB17A956A847091D088f1D7f6fE745f5B",
"contract_platform": "<contract_platform>",
"contract_chain": "<contract_chain>"
}
}
}
Last updated