CustomTransaction

From DeFiChain-Wiki
Revision as of 15:19, 26 July 2022 by Rupine (talk | contribs) (Created page with "== Introduction == Every token related Action on the DeFiChain is handled by Custom Transactions. The [https://github.com/DeFiCh/ain Node Software] flags these transactions wi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Introduction

Every token related Action on the DeFiChain is handled by Custom Transactions. The Node Software flags these transactions with a marker: DfTx If you want to decode these transaction, this article will help you.

Basic construction

DefiChain is basically a fork of Bitcoin. Therefor transactions ...

- Input, Output Transaction; scriptPubKey. One Output has OP_RETURN

Decoding OP_RETURN Hex

step by step... PUSHDATA, DfTx Marker, function Name... etc.