• FEIP27: NoticeFee
    Version: 1
    Language: en-US
    Author: C_armX
    Status: draft
    Created date: 2021-04-26
    Last modified date:2022-04-24
    PID: unknown
    TXID: Unpublished




    General rules of FEIP type protocols

    Rules specific to this protocol



    Protocol type: FEIP
    Serial number: 27
    Protocol name: NoticeFee
    Version: 1
    Description : A identity declares the minimum payment amount with which it is willing to receive the on-chain message notifications.
    Author: C_armX
    Language: en-US
    Previous version PID:

    General consensus of FEIP type protocols

    1. Write important data in OP_RETURN for public witness under FEIP type protocols.

    2. The SIGHASH flag of all transaction inputs is ‘ALL’ (value 0x01).

    3. The max size of OP_RETURN : 4096 bytes.

    4. The format of the data in op_return: JSON.

    5. Encoding : utf-8.

    Consensus of this protocol

    1. Notice fee refers to the minimum payment amount that an indentity is willing to receive the on-chain message notifications.

    2. An address can declare its notice fee in op_return in accordance with this protocol.

    3. When there are multiple inputs, the notice fee is for the address of the first input.

    4. When a new notice fee is declared, the old one is automatically cancelled.


    The OP_RETURN of which contains the data as follows:

    field number field name type length content required
    1 type String 4 Fixed: "FEIP"<br>Case insensitive Y
    2 sn int 2 Serial number<br>Fixed: 27 Y
    3 ver int 1 Fixed: 1 Y
    4 name String 8 Fixed: "NoticeFee"<br>Case insensitive N
    5 pid hex 32 Sha256 value of this protocol file N
    6 data.noticeFee float64 8 Amout of fch<br>Up to 8 decimal places Y


        "type": "FEIP",
        "sn": 27,
        "ver": 1,
        "name": "NoticeFee",
        "pid": "",

Log in to reply