Page cover

Quick Start

Smart contract Development

Are you looking for creating your own smart contract?

Connecting to the Chain (API's)

All Phantasma Phoenix RPCs come with both REST and RPC interfaces. Everywhere in documentation RPC nodes will be just called RPCs despite the fact that they support both protocols.

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

Type
Link

Mainnet URLs

Type
Link

Mainnet RPC1 REST API Documentation

Mainnet RPC2 REST API Documentation

Phantasma SDK's

Explore our wide selection of Phantasma blockchain SDKs available for platforms like Unity, Typescript, and C++. These tools empower you to innovate and integrate with the Phantasma ecosystem, irrespective of your preferred development environment. Click to unleash the potential of decentralized technology.

SDKs

Last updated