Raiinmaker Network
  • Getting Started
    • Who is Raiinmaker?
    • What is AI Reputation?
    • AI Jobs
      • Train the AI
        • How to Navigate the App
        • Train & Tag AI
        • Generate AI Art
      • Support the AI
        • The Coiin.AI Dashboard
        • Run Nodes
        • Burn, Stake Assets
      • Complete Quests/Missions
        • Take Part in Challenges
    • About Rewards
      • All About Moondrops
      • What is $COIIN
      • How to Earn $COIIN
      • How to Buy $COIIN
      • How to Withdraw $COIIN
    • About Citiizens
      • What is a Citiizen?
  • Validator Overview
    • Validators in the Raiinmaker Network
  • Developers
    • Architecture Overview
    • Getting Started with Coiin.AI
    • How to Get Started with EAL
    • Transactions
    • Creating Transactions
    • Getting Blocks
    • Getting Started with Raiinmaker Smart Contracts
  • Reference Documents
    • Dune Dashboard
  • Tutorials
    • How to Link Your Raiinmaker App & Coiin.AI Accounts
    • Raiinmaker: Train AI & Run a DePIN Validator to Earn Coiin
    • How To Set Up A Validator On Coiin.AI
    • Coiin.AI Setup Tutorial
    • Raiinmaker AI Tutorial
  • Links
    • Website
    • X (formerly Twitter)
    • Medium
    • Discord
    • Telegram
    • Instagram
    • Facebook
    • LinkedIn
    • YouTube
  • Support
    • Contact Support
Powered by GitBook
On this page
  • Transaction Types
  • Creating Transaction Types
  1. Developers

Transactions

Transaction Types

Transaction types are a functionality provided by Raiinmaker Network EAL to give the user direct control over the transactions added to their blockchain. By design, the chain will not accept any transactions unless attached to a registered transaction type on that business chain. Transactions can be grouped logically using this feature, allowing the user to index data for more precise and efficient search functionality within their applications and systems.

Creating Transaction Types

Transaction types can be created with coiin and used to group transaction data by type or function.

$ coiin transactionType create "my-transaction-type"
{
  "status": 200,
  "response": {
    "success": true
  },
  "ok": true
}

After creating a transaction type, it can be used in transactions.

$ coiin transaction create "my-transaction-type" '{ "banana": 4 }'
{
  "status": 201,
  "response": {
    "transaction_id": "b09ef198-7bb9-40c4-990b-097b3bac93c5"
  },
  "ok": true
}
PreviousHow to Get Started with EALNextCreating Transactions

Last updated 9 months ago