RPC backend

List of API commands using RPC. Check the available marketplace api url in config page

Get Marketplace data

GET https://marketplace-backend/api/marketplace/:network_id/:page

Returns list of nfts minted in certain blockchain network. Amount of nfts returned from network could be maximum 10. List of supported network_ids are in Marketplace/config page.

Path Parameters

Name
Type
Description

page

number

Page offset. Every request returns 10 nfts. By page offset.

network_id

number

ID of the Blockchain network. For example: 1 - Ethereum mainnet 4 - Rinkeby testnet To see all supported networks, please look at config page

{"count":10,"data":[{"id":11,"wallet_address":"0xb71471fff16dbba815479cdc6544c0e00af6d8b2","block_number":0,"txid":"some data","timestamp":1615549882,"generation":0,"quality":1,"img_id":3},{"id":12,"wallet_address":"0xb71471fff16dbba815479cdc6544c0e00af6d8b2","block_number":0,"txid":"some data","timestamp":1615549883,"generation":0,"quality":1,"img_id":1},{"id":13,"wallet_address":"0xb71471fff16dbba815479cdc6544c0e00af6d8b2","block_number":0,"txid":"some data","timestamp":1615549883,"generation":0,"quality":1,"img_id":1},{"id":14,"wallet_address":"0xb71471fff16dbba815479cdc6544c0e00af6d8b2","block_number":0,"txid":"some data","timestamp":1615549879,"generation":0,"quality":1,"img_id":1},{"id":15,"wallet_address":"0xb71471fff16dbba815479cdc6544c0e00af6d8b2","block_number":0,"txid":"some data","timestamp":1615549886,"generation":0,"quality":1,"img_id":2},{"id":16,"wallet_address":"0xb71471fff16dbba815479cdc6544c0e00af6d8b2","block_number":0,"txid":"some data","timestamp":1615549883,"generation":0,"quality":1,"img_id":1},{"id":17,"wallet_address":"0xb71471fff16dbba815479cdc6544c0e00af6d8b2","block_number":0,"txid":"some data","timestamp":1615549884,"generation":0,"quality":1,"img_id":3},{"id":18,"wallet_address":"0xb71471fff16dbba815479cdc6544c0e00af6d8b2","block_number":0,"txid":"some data","timestamp":1615549878,"generation":0,"quality":1,"img_id":3},{"id":19,"wallet_address":"0xf218466013f3957d307c72154dbe466da2aaec17","block_number":0,"txid":"some data","timestamp":1615444803,"generation":0,"quality":1,"img_id":4},{"id":20,"wallet_address":"0xb71471fff16dbba815479cdc6544c0e00af6d8b2","block_number":0,"txid":"some data","timestamp":1615549879,"generation":0,"quality":1,"img_id":3}],"offset":1}

Get Scapes NFT metadata

GET https://marketplace-backend/api/nft/:network_id/:id

Returns metadata of the NFT. Warning! The "wallet_address" parameter returned by API might be wrong. So to be for sure, check it from blockchain. How to get the Image of NFT? The parameter "img_id" in returned metadata is the image ID. Use it in CDN to fetch NFT image: https://cdn.seascape.network/nfts/<img_id parameter>.gif

Path Parameters

Name
Type
Description

id

number

The ID of nft

network_id

number

The ID of blockchain network. To see supported blockchain ids, check marketplace/config page

Get Scapes page

GET https://marketplace-backed/api/scapes/:page

Returns list of all sell orders in all blockchains within Seascape Marketplace. Amount of nfts that api returns could be maximum 10.

Path Parameters

Name
Type
Description

number

Returns next batch of

Last updated