Quick Start
Smart contract Development
Connecting to the Chain (API's)
To access REST documentation served through Swagger, just open RPC's URL in interner browser. It will automatically redirect you to documetation page. For example, if you'll open https://testnet.phantasma.info/ URL, you will be redirected to this Swagger page: https://testnet.phantasma.info/swagger/index.html
To send query through RPC protocol, you need to add '/rpc' to URL, for example for testnet this is the full address of RPC: https://testnet.phantasma.info/rpc
REST and RPC interfaces use same names for endpoints and arguments. This way REST API Documentation can be easily used to compose RPC queries.
Testnet URLs
Testnet Explorer
Testnet RPC1 REST API Documentation
Testnet RPC1 REST API
Testnet RPC1 RPC API
JSON with available testnet RPCs
Mainnet URLs
Mainnet Explorer
Mainnet RPC1 REST API Documentation
Mainnet RPC1 REST API
Mainnet RPC1 RPC API
Mainnet RPC2 REST API Documentation
Mainnet RPC2 REST API
Mainnet RPC2 RPC API
JSON with available mainnet RPCs
Phantasma SDK's
SDKsLast updated