github.com/cryptohub-digital/blockbook@v0.3.5-0.20240403155730-99ab40b9104c/bchain/tx.proto (about)

     1  syntax = "proto3";
     2  	package bchain;
     3      option go_package = "bchain/";
     4  
     5      message ProtoTransaction {
     6          message VinType {
     7              string Coinbase = 1;
     8              bytes Txid = 2;
     9              uint32 Vout = 3;
    10              bytes ScriptSigHex = 4;
    11              uint32 Sequence = 5;
    12              repeated string Addresses = 6;
    13          }
    14          message VoutType {
    15              bytes ValueSat = 1;
    16              uint32 N = 2;
    17              bytes ScriptPubKeyHex = 3;
    18              repeated string Addresses = 4;
    19          }
    20          bytes Txid = 1;
    21          bytes Hex = 2;
    22          uint64 Blocktime = 3;
    23          uint32 Locktime = 4;
    24          uint32 Height = 5;
    25          repeated VinType Vin = 6;
    26          repeated VoutType Vout = 7;
    27          int32 Version = 8;
    28          int64 VSize = 9;
    29      }