Pastel Network
  • Introduction
    • Pastel Overview
    • Pastel Token (PSL)
    • PSL Token Economics
    • Pastel Consensus Protocol
    • Key Features
  • Basics
    • Smart Ticket Structure
    • Fees and Burn
    • SuperNodes
      • SuperNode Staking
      • SuperNode States & Implications for Stake
      • SuperNode Operator Selection
      • SuperNode Fees
    • Governance
    • Accounts
  • Development Guide
    • Types of Pastel installations
      • Pastel Network Architecture
    • Requirements
      • Default directories
    • QuickStart: Running a Node
    • WalletNode
      • API
        • Sense API
        • Cascade API
        • NFT API
      • GRPC Interface
    • SuperNode
      • GRPC Interface
    • Pasteld Daemon
      • Pasteld CLI Implementation
      • Pasteld JSON-RPC API
    • Pastel-CLI
    • Understanding Smart Tickets
      • NFT Tickets
      • PastelID Tickets
    • Testing
    • Tutorials
      • Pastel Wallet App
    • Public Endpoints & Resources
    • Configurations
  • Sense Protocol
    • Sense Overview
    • Sense Basics
    • Building with Sense API
  • Cascade Protocol
    • Cascade Overview
    • Cascade Basics
    • Building with Cascade API
Powered by GitBook
On this page
  • About
  • Starting The Local Swagger Interface

Was this helpful?

Export as PDF
  1. Development Guide
  2. WalletNode

API

PreviousWalletNodeNextSense API

Last updated 2 years ago

Was this helpful?

Beta - This will all be made into wallet functionality and scripted.

About

The WalletNode API is intended to provide a port that other apps can use to interface with a user's wallet and operate on the blockchain. Using the swagger interface (below) is recommended to test development. If the development-mode option is omitted, the port 8080 interface remains open to accept the same commands Swagger helped generate.

Starting The Local Swagger Interface

One way to access the complete WalletNode API is to access the local swagger interface. Swagger provides a complete API listing as well as a convenient interface for testing API calls.

First, start WalletNode in development mode:

./pastelup-linux-amd64 start walletnode --development-mode

Then, navigate to the local API interface at http://127.0.0.1:8080/swagger using a web browser.

You can also use or some other tool of your choice to work with WalletNode APIs

Common Tasks

After getting started with Swagger, head to the or API sections for further instruction. Alternatively, here are links to some common tasks you might be looking for:

Postman
Sense
Cascade
Register NFTs
Search NFTs
Download NFTs