BARK Whitepaper
  • Welcome
  • Executive Summary
  • Abstract
  • Disclaimer
  • About
    • The BARK Protocol
      • Business Model
        • Fee Structure
          • Benefits
      • The Vision of BARK
        • Foundation
  • Introduction
    • Transformative Technology
      • Benefits
  • Markets
    • Global Markets
      • Problem
      • Traditional Finance
        • The Role of Bots
        • Solution
        • Resources
  • Solutions
    • Verifiable Web
      • Features
        • Real-World Use Cases
          • Charitable Donation
          • Tokenized Assets
            • Real-World Asset Token
            • CNFT
              • Implementation
        • Asset Marketplace
          • Benefits
          • System Architecture
      • Advantages
    • Technology
      • Architecture
      • Benefits
  • Ecosystem
    • Strategic Planning
    • Introduction
      • BARK
      • Components
        • Governance
          • Voting
          • Participation
            • Getting Started
          • Treasury
            • Advantages
        • Underdogs
          • Development
            • Members Club´s
              • Mission Statement
                • Tiered Members
                • Responsibilities
                  • Services
              • BARKER
                • Membership
                  • Council
              • The Peaky Barkers
                • Mission
                • Brand
                  • Merchandise
              • Sparky Bros
                • Mission
                • Brand
                  • Merchandise
            • Benefits
            • Marketing
            • Participate
            • FAQ
    • Members Club´s
  • Technology
    • Architecture
      • Tokenization
        • Overview
        • BARK
          • Overview
            • Utility
            • Benefits
            • Advantages
        • BPT Token
        • BRWA: Tokenized Assets
        • BARK Protocol Token
          • Integration
    • Token Standard
      • SPL-404
      • Why Solana
  • Product
    • NFT Marketplace
      • Website
      • FAQ
    • Social Finance
      • Introduction
        • CNFT 404
      • Architecture
        • Components
      • Disbursement
        • Architecture
          • User Interface
            • Features
        • Introduction
          • Use Cases
            • Charity
            • Payments
            • Swap
          • Benefits
    • Crowdfunding Platform
      • About
      • Overview
        • Features
          • Components
            • Payments System
        • Benefits
        • Use Cases
        • Compliance
      • Development
        • Overview
          • Website
          • Application
            • Assets
          • Solana
            • Components
            • Programs
          • SUI
            • Components
          • References
        • Brand Guidelines
          • Assets
        • Roadmap
    • Blinks
      • Introduction
      • Components
    • BarkBOT
      • About
      • Features
        • API
          • Example
      • Reguirements
        • Integration
          • Blockchain
          • Programs
      • Architecture
        • Advantages
      • References
    • Commerce
      • Components
        • Backend
          • API
        • Storefront
        • Plugins
          • Payments
            • Payment Gateway
      • References
        • Tutorial
    • BarkSwap
      • Introduction
        • Architecture
        • Features
          • Benefits
    • Staking DApp
    • BARK AI Chatbot
      • Application
        • Development
          • Programs
          • NFT
            • Badges
        • FAQ
      • Architecture
        • Implementation
      • Demo
    • Token Sale Dashboard
      • Terminology
      • Benefits
  • Tokenomics
    • Tokenization
      • BARK
        • BARK (SPL20)
          • Use Cases
          • Distribution
          • Vesting & Locking Mechanism
        • BARK (Token-2022)
          • Specification
            • Important
          • Utility
            • Fees
              • Allocation
            • Staking
          • Distribution
          • Vesting
          • Emission Plan
            • Burning
              • Burning Process
        • CNFT
          • BARKER
            • Information
              • Community Token
            • Allocation
            • Swap
          • SPARKY
            • Token economy
            • Features
      • BPT
      • BRWA
  • Airdop
    • Acknowledgment
    • Overview
      • FAQ
  • Roadmap
    • Comprehensive Strategy
      • Recover & BARK Burning Plan
      • Strategic Transition to SPL-20 Token Standard
    • Milestones
      • Strategy Change
        • Airdrop One
        • Trading
          • Listing Process on DEXs
      • Exchanges
  • Community
    • Future Development
      • Treasury
        • Implementation
    • Overview
      • Governance
        • Specifications
          • Verification
        • Join BARK
      • Rewards
      • Engagement
        • Airdrops
    • FAQ
  • References
    • References
  • Developers
    • Applications
      • Blinks
        • Components
          • UI/UX Design
          • Server
            • Example
        • Actions
          • Frameworks
            • React Native
          • Referrals
          • Donate
          • Swap
          • Extensions
        • API Documentation
          • API
            • Use Cases
            • Features
            • Integration
      • Token Swap System
        • Architecture
          • Sample
          • BarkSwap API
      • BarkPaws Bot
        • Interface
          • Web3 DApp
          • Benefits
          • Improvement
      • Fundraising Platform
        • Introduction
          • Smart Contracts
            • Technical Overview
              • Contract
        • Components
          • Campaigns
            • Payments
              • Payment Processor
              • Stablecoin
                • Escrow Programs
                • Compliance
        • References
          • API
            • Documentation
    • BARK & Jupiter Swap API
      • API
    • Reward System
    • Product Owners
      • Grant Programs
  • Partnership
    • Collaboration
  • Annauncement
    • Newsletter
  • Documentation
    • Projects
      • Market Maker Bot
      • BARKER´s Club
      • Contributing
      • FairLauncher.fun
    • Investors Guide
      • Trading
  • Assets
    • Brand
      • Brand Guide
        • System Design
          • Colors Guide
        • Assets
Powered by GitBook
On this page
  1. Developers
  2. Applications
  3. Blinks
  4. API Documentation
  5. API

Features

Specifications for BARK Actions and Solana Blinks

Overview


The BARK Actions Server API is a sophisticated backend service designed to interact with the Solana blockchain, leveraging Node.js and Express. The API allows users to preview, sign, and send blockchain transactions. It supports various transaction types, including donations and payments, and integrates Circle’s USDC gateway for efficient currency management. Key features include support for SOL, USDC, BARK and SPL tokens transactions, enhanced security, flexible donation and payment options, and comprehensive error handling.

The BARK Actions Server API includes the following key features:

1. NFT Minting

  • Endpoint: /api/mint

  • Description: Allows users to mint a new BARK NFT on the Solana blockchain. Users provide the NFT's name, symbol, and metadata URI.

2. Donations

  • SOL Donations:

    • Endpoint: /api/donate/sol

    • Description: Users can donate SOL to a specified treasury address.

  • USDC Donations:

    • Endpoint: /api/donate/usdc

    • Description: Users can donate USDC to a specified treasury address.

  • BARK Token Donations:

    • Endpoint: /api/donate/bark

    • Description: Users can donate BARK tokens to a specified treasury address.

3. Charity Donations

  • Endpoint: /api/charity/donate

  • Description: Enables users to make donations to charities using SOL, USDC, or BARK tokens. Users can select predefined or custom amounts and have the option to use escrow for added security.

4. Merchant Payments

  • Endpoint: /api/merchant/payment

  • Description: Facilitates payments to merchants with support for SOL, USDC, or BARK tokens. Merchants can optionally use escrow for secure transactions.

5. Transaction Preview and Signing

  • Preview Transaction:

    • Endpoint: /api/transaction/preview

    • Description: Users can preview transactions before sending them to the Solana blockchain, ensuring accuracy.

  • Sign Transaction:

    • Endpoint: /api/transaction/sign

    • Description: Allows users to sign a transaction after previewing it, preparing it for submission to the blockchain.

6. Transaction Tracking

  • Endpoint: /api/transaction/track/{transactionId}

  • Description: Provides transaction IDs and URLs to view transactions on the Solana Explorer, offering transparency and easy tracking of transactions.

7. Error Handling

  • Description: Standardized error responses across all endpoints, providing clear messages when inputs are invalid or when server errors occur.

These features provide a comprehensive suite of tools for interacting with the Solana blockchain, enabling users to mint NFTs, make donations, process payments, and manage transactions with ease and security.

PreviousUse CasesNextIntegration

Last updated 8 months ago