Documentation ¶
Index ¶
- Variables
- func NewBitcoinEndpoints() []*api.Endpoint
- func RegisterBitcoinHandler(s server.Server, hdlr BitcoinHandler, opts ...server.HandlerOption) error
- type BalanceRequest
- type BalanceResponse
- type BitcoinHandler
- type BitcoinService
- type Input
- type LookupRequest
- func (*LookupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LookupRequest) GetAddress() string
- func (x *LookupRequest) GetLimit() int32
- func (x *LookupRequest) GetOffset() int32
- func (*LookupRequest) ProtoMessage()
- func (x *LookupRequest) ProtoReflect() protoreflect.Message
- func (x *LookupRequest) Reset()
- func (x *LookupRequest) String() string
- type LookupResponse
- func (*LookupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LookupResponse) GetAddress() string
- func (x *LookupResponse) GetFinalBalance() int64
- func (x *LookupResponse) GetHash() string
- func (x *LookupResponse) GetNumTx() int64
- func (x *LookupResponse) GetNumUnredeemed() int64
- func (x *LookupResponse) GetTotalReceived() int64
- func (x *LookupResponse) GetTotalSent() int64
- func (x *LookupResponse) GetTransactions() []*Transaction
- func (*LookupResponse) ProtoMessage()
- func (x *LookupResponse) ProtoReflect() protoreflect.Message
- func (x *LookupResponse) Reset()
- func (x *LookupResponse) String() string
- type Output
- func (*Output) Descriptor() ([]byte, []int)deprecated
- func (x *Output) GetAddress() string
- func (x *Output) GetHash() string
- func (x *Output) GetScript() string
- func (x *Output) GetSpent() bool
- func (x *Output) GetTxIndex() int64
- func (x *Output) GetValue() int64
- func (*Output) ProtoMessage()
- func (x *Output) ProtoReflect() protoreflect.Message
- func (x *Output) Reset()
- func (x *Output) String() string
- type Prev
- func (*Prev) Descriptor() ([]byte, []int)deprecated
- func (x *Prev) GetAddress() string
- func (x *Prev) GetN() int64
- func (x *Prev) GetScript() string
- func (x *Prev) GetSpent() bool
- func (x *Prev) GetTxIndex() int64
- func (x *Prev) GetValue() int64
- func (*Prev) ProtoMessage()
- func (x *Prev) ProtoReflect() protoreflect.Message
- func (x *Prev) Reset()
- func (x *Prev) String() string
- type PriceRequest
- type PriceResponse
- func (*PriceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PriceResponse) GetPrice() float64
- func (x *PriceResponse) GetSymbol() string
- func (*PriceResponse) ProtoMessage()
- func (x *PriceResponse) ProtoReflect() protoreflect.Message
- func (x *PriceResponse) Reset()
- func (x *PriceResponse) String() string
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetBalance() int64
- func (x *Transaction) GetBlockHeight() int64
- func (x *Transaction) GetBlockIndex() int64
- func (x *Transaction) GetDoubleSpend() bool
- func (x *Transaction) GetFee() int64
- func (x *Transaction) GetHash() string
- func (x *Transaction) GetInputs() []*Input
- func (x *Transaction) GetLockTime() int64
- func (x *Transaction) GetOutputs() []*Output
- func (x *Transaction) GetRelay() string
- func (x *Transaction) GetResult() int64
- func (x *Transaction) GetSize() int64
- func (x *Transaction) GetTxIndex() int64
- func (x *Transaction) GetVersion() int64
- func (x *Transaction) GetVinSz() int64
- func (x *Transaction) GetVoutSz() int64
- func (x *Transaction) GetWeight() int64
- func (*Transaction) ProtoMessage()
- func (x *Transaction) ProtoReflect() protoreflect.Message
- func (x *Transaction) Reset()
- func (x *Transaction) String() string
- type TransactionRequest
- func (*TransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionRequest) GetHash() string
- func (*TransactionRequest) ProtoMessage()
- func (x *TransactionRequest) ProtoReflect() protoreflect.Message
- func (x *TransactionRequest) Reset()
- func (x *TransactionRequest) String() string
- type TransactionResponse
- func (*TransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionResponse) GetBlockHeight() int64
- func (x *TransactionResponse) GetBlockIndex() int64
- func (x *TransactionResponse) GetDoubleSpend() bool
- func (x *TransactionResponse) GetFee() int64
- func (x *TransactionResponse) GetHash() string
- func (x *TransactionResponse) GetInputs() []*Input
- func (x *TransactionResponse) GetLockTime() int64
- func (x *TransactionResponse) GetOutputs() []*Output
- func (x *TransactionResponse) GetRelay() string
- func (x *TransactionResponse) GetSize() int64
- func (x *TransactionResponse) GetTxIndex() int64
- func (x *TransactionResponse) GetVersion() int64
- func (x *TransactionResponse) GetVinSz() int64
- func (x *TransactionResponse) GetVoutSz() int64
- func (x *TransactionResponse) GetWeight() int64
- func (*TransactionResponse) ProtoMessage()
- func (x *TransactionResponse) ProtoReflect() protoreflect.Message
- func (x *TransactionResponse) Reset()
- func (x *TransactionResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var File_proto_bitcoin_proto protoreflect.FileDescriptor
Functions ¶
func NewBitcoinEndpoints ¶
func RegisterBitcoinHandler ¶
func RegisterBitcoinHandler(s server.Server, hdlr BitcoinHandler, opts ...server.HandlerOption) error
Types ¶
type BalanceRequest ¶ added in v1.0.0
type BalanceRequest struct { // address to lookup Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
Get the BTC balance of an address
func (*BalanceRequest) Descriptor
deprecated
added in
v1.0.0
func (*BalanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use BalanceRequest.ProtoReflect.Descriptor instead.
func (*BalanceRequest) GetAddress ¶ added in v1.0.0
func (x *BalanceRequest) GetAddress() string
func (*BalanceRequest) ProtoMessage ¶ added in v1.0.0
func (*BalanceRequest) ProtoMessage()
func (*BalanceRequest) ProtoReflect ¶ added in v1.0.0
func (x *BalanceRequest) ProtoReflect() protoreflect.Message
func (*BalanceRequest) Reset ¶ added in v1.0.0
func (x *BalanceRequest) Reset()
func (*BalanceRequest) String ¶ added in v1.0.0
func (x *BalanceRequest) String() string
type BalanceResponse ¶ added in v1.0.0
type BalanceResponse struct { // total BTC as satoshis Balance int64 `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty"` // contains filtered or unexported fields }
func (*BalanceResponse) Descriptor
deprecated
added in
v1.0.0
func (*BalanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use BalanceResponse.ProtoReflect.Descriptor instead.
func (*BalanceResponse) GetBalance ¶ added in v1.0.0
func (x *BalanceResponse) GetBalance() int64
func (*BalanceResponse) ProtoMessage ¶ added in v1.0.0
func (*BalanceResponse) ProtoMessage()
func (*BalanceResponse) ProtoReflect ¶ added in v1.0.0
func (x *BalanceResponse) ProtoReflect() protoreflect.Message
func (*BalanceResponse) Reset ¶ added in v1.0.0
func (x *BalanceResponse) Reset()
func (*BalanceResponse) String ¶ added in v1.0.0
func (x *BalanceResponse) String() string
type BitcoinHandler ¶
type BitcoinHandler interface { Lookup(context.Context, *LookupRequest, *LookupResponse) error Price(context.Context, *PriceRequest, *PriceResponse) error Balance(context.Context, *BalanceRequest, *BalanceResponse) error Transaction(context.Context, *TransactionRequest, *TransactionResponse) error }
type BitcoinService ¶
type BitcoinService interface { Lookup(ctx context.Context, in *LookupRequest, opts ...client.CallOption) (*LookupResponse, error) Price(ctx context.Context, in *PriceRequest, opts ...client.CallOption) (*PriceResponse, error) Balance(ctx context.Context, in *BalanceRequest, opts ...client.CallOption) (*BalanceResponse, error) Transaction(ctx context.Context, in *TransactionRequest, opts ...client.CallOption) (*TransactionResponse, error) }
func NewBitcoinService ¶
func NewBitcoinService(name string, c client.Client) BitcoinService
type Input ¶ added in v1.0.0
type Input struct { PrevOut *Prev `protobuf:"bytes,1,opt,name=prev_out,json=prevOut,proto3" json:"prev_out,omitempty"` Script string `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"` // contains filtered or unexported fields }
func (*Input) Descriptor
deprecated
added in
v1.0.0
func (*Input) GetPrevOut ¶ added in v1.0.0
func (*Input) ProtoMessage ¶ added in v1.0.0
func (*Input) ProtoMessage()
func (*Input) ProtoReflect ¶ added in v1.0.0
func (x *Input) ProtoReflect() protoreflect.Message
type LookupRequest ¶ added in v1.3.0
type LookupRequest struct { // bitcoin address Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // limit num transactions (max: 50) Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // offset transactions Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
Get details for a bitcoin address
func (*LookupRequest) Descriptor
deprecated
added in
v1.3.0
func (*LookupRequest) Descriptor() ([]byte, []int)
Deprecated: Use LookupRequest.ProtoReflect.Descriptor instead.
func (*LookupRequest) GetAddress ¶ added in v1.3.0
func (x *LookupRequest) GetAddress() string
func (*LookupRequest) GetLimit ¶ added in v1.3.0
func (x *LookupRequest) GetLimit() int32
func (*LookupRequest) GetOffset ¶ added in v1.3.0
func (x *LookupRequest) GetOffset() int32
func (*LookupRequest) ProtoMessage ¶ added in v1.3.0
func (*LookupRequest) ProtoMessage()
func (*LookupRequest) ProtoReflect ¶ added in v1.3.0
func (x *LookupRequest) ProtoReflect() protoreflect.Message
func (*LookupRequest) Reset ¶ added in v1.3.0
func (x *LookupRequest) Reset()
func (*LookupRequest) String ¶ added in v1.3.0
func (x *LookupRequest) String() string
type LookupResponse ¶ added in v1.3.0
type LookupResponse struct { // address requested Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // hash160 Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // number of transactions NumTx int64 `protobuf:"varint,3,opt,name=num_tx,json=numTx,proto3" json:"num_tx,omitempty"` // number of unredeemed NumUnredeemed int64 `protobuf:"varint,4,opt,name=num_unredeemed,json=numUnredeemed,proto3" json:"num_unredeemed,omitempty"` // total received TotalReceived int64 `protobuf:"varint,5,opt,name=total_received,json=totalReceived,proto3" json:"total_received,omitempty"` // total sent TotalSent int64 `protobuf:"varint,6,opt,name=total_sent,json=totalSent,proto3" json:"total_sent,omitempty"` // final balanace FinalBalance int64 `protobuf:"varint,7,opt,name=final_balance,json=finalBalance,proto3" json:"final_balance,omitempty"` // list of transactions Transactions []*Transaction `protobuf:"bytes,8,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
func (*LookupResponse) Descriptor
deprecated
added in
v1.3.0
func (*LookupResponse) Descriptor() ([]byte, []int)
Deprecated: Use LookupResponse.ProtoReflect.Descriptor instead.
func (*LookupResponse) GetAddress ¶ added in v1.3.0
func (x *LookupResponse) GetAddress() string
func (*LookupResponse) GetFinalBalance ¶ added in v1.3.0
func (x *LookupResponse) GetFinalBalance() int64
func (*LookupResponse) GetHash ¶ added in v1.3.0
func (x *LookupResponse) GetHash() string
func (*LookupResponse) GetNumTx ¶ added in v1.3.0
func (x *LookupResponse) GetNumTx() int64
func (*LookupResponse) GetNumUnredeemed ¶ added in v1.3.0
func (x *LookupResponse) GetNumUnredeemed() int64
func (*LookupResponse) GetTotalReceived ¶ added in v1.3.0
func (x *LookupResponse) GetTotalReceived() int64
func (*LookupResponse) GetTotalSent ¶ added in v1.3.0
func (x *LookupResponse) GetTotalSent() int64
func (*LookupResponse) GetTransactions ¶ added in v1.3.0
func (x *LookupResponse) GetTransactions() []*Transaction
func (*LookupResponse) ProtoMessage ¶ added in v1.3.0
func (*LookupResponse) ProtoMessage()
func (*LookupResponse) ProtoReflect ¶ added in v1.3.0
func (x *LookupResponse) ProtoReflect() protoreflect.Message
func (*LookupResponse) Reset ¶ added in v1.3.0
func (x *LookupResponse) Reset()
func (*LookupResponse) String ¶ added in v1.3.0
func (x *LookupResponse) String() string
type Output ¶ added in v1.0.0
type Output struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` Script string `protobuf:"bytes,3,opt,name=script,proto3" json:"script,omitempty"` Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` TxIndex int64 `protobuf:"varint,5,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` Spent bool `protobuf:"varint,6,opt,name=spent,proto3" json:"spent,omitempty"` // contains filtered or unexported fields }
func (*Output) Descriptor
deprecated
added in
v1.0.0
func (*Output) GetAddress ¶ added in v1.0.0
func (*Output) GetTxIndex ¶ added in v1.0.0
func (*Output) ProtoMessage ¶ added in v1.0.0
func (*Output) ProtoMessage()
func (*Output) ProtoReflect ¶ added in v1.0.0
func (x *Output) ProtoReflect() protoreflect.Message
type Prev ¶ added in v1.0.0
type Prev struct { Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` TxIndex int64 `protobuf:"varint,3,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` N int64 `protobuf:"varint,4,opt,name=n,proto3" json:"n,omitempty"` Spent bool `protobuf:"varint,5,opt,name=spent,proto3" json:"spent,omitempty"` Script string `protobuf:"bytes,6,opt,name=script,proto3" json:"script,omitempty"` // contains filtered or unexported fields }
func (*Prev) Descriptor
deprecated
added in
v1.0.0
func (*Prev) GetAddress ¶ added in v1.0.0
func (*Prev) GetTxIndex ¶ added in v1.0.0
func (*Prev) ProtoMessage ¶ added in v1.0.0
func (*Prev) ProtoMessage()
func (*Prev) ProtoReflect ¶ added in v1.0.0
func (x *Prev) ProtoReflect() protoreflect.Message
type PriceRequest ¶
type PriceRequest struct { // symbol to use e.g BTCUSD Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` // contains filtered or unexported fields }
Get the price of bitcoin
func (*PriceRequest) Descriptor
deprecated
func (*PriceRequest) Descriptor() ([]byte, []int)
Deprecated: Use PriceRequest.ProtoReflect.Descriptor instead.
func (*PriceRequest) GetSymbol ¶
func (x *PriceRequest) GetSymbol() string
func (*PriceRequest) ProtoMessage ¶
func (*PriceRequest) ProtoMessage()
func (*PriceRequest) ProtoReflect ¶
func (x *PriceRequest) ProtoReflect() protoreflect.Message
func (*PriceRequest) Reset ¶
func (x *PriceRequest) Reset()
func (*PriceRequest) String ¶
func (x *PriceRequest) String() string
type PriceResponse ¶
type PriceResponse struct { // The symbol of pricing e.g BTCUSD Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` // The price of bitcoin Price float64 `protobuf:"fixed64,2,opt,name=price,proto3" json:"price,omitempty"` // contains filtered or unexported fields }
func (*PriceResponse) Descriptor
deprecated
func (*PriceResponse) Descriptor() ([]byte, []int)
Deprecated: Use PriceResponse.ProtoReflect.Descriptor instead.
func (*PriceResponse) GetPrice ¶
func (x *PriceResponse) GetPrice() float64
func (*PriceResponse) GetSymbol ¶
func (x *PriceResponse) GetSymbol() string
func (*PriceResponse) ProtoMessage ¶
func (*PriceResponse) ProtoMessage()
func (*PriceResponse) ProtoReflect ¶
func (x *PriceResponse) ProtoReflect() protoreflect.Message
func (*PriceResponse) Reset ¶
func (x *PriceResponse) Reset()
func (*PriceResponse) String ¶
func (x *PriceResponse) String() string
type Transaction ¶ added in v1.3.0
type Transaction struct { // transaction hash Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // the version Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` // vin VinSz int64 `protobuf:"varint,3,opt,name=vin_sz,json=vinSz,proto3" json:"vin_sz,omitempty"` // vout VoutSz int64 `protobuf:"varint,4,opt,name=vout_sz,json=voutSz,proto3" json:"vout_sz,omitempty"` // lock time LockTime int64 `protobuf:"varint,5,opt,name=lock_time,json=lockTime,proto3" json:"lock_time,omitempty"` // transaction size Size int64 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"` // relay Relay string `protobuf:"bytes,7,opt,name=relay,proto3" json:"relay,omitempty"` // block height BlockHeight int64 `protobuf:"varint,8,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // blck index BlockIndex int64 `protobuf:"varint,9,opt,name=block_index,json=blockIndex,proto3" json:"block_index,omitempty"` // double spend DoubleSpend bool `protobuf:"varint,10,opt,name=double_spend,json=doubleSpend,proto3" json:"double_spend,omitempty"` // weight Weight int64 `protobuf:"varint,11,opt,name=weight,proto3" json:"weight,omitempty"` // fees Fee int64 `protobuf:"varint,12,opt,name=fee,proto3" json:"fee,omitempty"` // tx index TxIndex int64 `protobuf:"varint,13,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` // inputs Inputs []*Input `protobuf:"bytes,14,rep,name=inputs,proto3" json:"inputs,omitempty"` // outputs Outputs []*Output `protobuf:"bytes,15,rep,name=outputs,proto3" json:"outputs,omitempty"` // result of transaction Result int64 `protobuf:"varint,16,opt,name=result,proto3" json:"result,omitempty"` // balance after transaction Balance int64 `protobuf:"varint,17,opt,name=balance,proto3" json:"balance,omitempty"` // contains filtered or unexported fields }
func (*Transaction) Descriptor
deprecated
added in
v1.3.0
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetBalance ¶ added in v1.3.0
func (x *Transaction) GetBalance() int64
func (*Transaction) GetBlockHeight ¶ added in v1.3.0
func (x *Transaction) GetBlockHeight() int64
func (*Transaction) GetBlockIndex ¶ added in v1.3.0
func (x *Transaction) GetBlockIndex() int64
func (*Transaction) GetDoubleSpend ¶ added in v1.3.0
func (x *Transaction) GetDoubleSpend() bool
func (*Transaction) GetFee ¶ added in v1.3.0
func (x *Transaction) GetFee() int64
func (*Transaction) GetHash ¶ added in v1.3.0
func (x *Transaction) GetHash() string
func (*Transaction) GetInputs ¶ added in v1.3.0
func (x *Transaction) GetInputs() []*Input
func (*Transaction) GetLockTime ¶ added in v1.3.0
func (x *Transaction) GetLockTime() int64
func (*Transaction) GetOutputs ¶ added in v1.3.0
func (x *Transaction) GetOutputs() []*Output
func (*Transaction) GetRelay ¶ added in v1.3.0
func (x *Transaction) GetRelay() string
func (*Transaction) GetResult ¶ added in v1.3.0
func (x *Transaction) GetResult() int64
func (*Transaction) GetSize ¶ added in v1.3.0
func (x *Transaction) GetSize() int64
func (*Transaction) GetTxIndex ¶ added in v1.3.0
func (x *Transaction) GetTxIndex() int64
func (*Transaction) GetVersion ¶ added in v1.3.0
func (x *Transaction) GetVersion() int64
func (*Transaction) GetVinSz ¶ added in v1.3.0
func (x *Transaction) GetVinSz() int64
func (*Transaction) GetVoutSz ¶ added in v1.3.0
func (x *Transaction) GetVoutSz() int64
func (*Transaction) GetWeight ¶ added in v1.3.0
func (x *Transaction) GetWeight() int64
func (*Transaction) ProtoMessage ¶ added in v1.3.0
func (*Transaction) ProtoMessage()
func (*Transaction) ProtoReflect ¶ added in v1.3.0
func (x *Transaction) ProtoReflect() protoreflect.Message
func (*Transaction) Reset ¶ added in v1.3.0
func (x *Transaction) Reset()
func (*Transaction) String ¶ added in v1.3.0
func (x *Transaction) String() string
type TransactionRequest ¶ added in v1.0.0
type TransactionRequest struct { // the transaction hash Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
Get transaction details by hash
func (*TransactionRequest) Descriptor
deprecated
added in
v1.0.0
func (*TransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransactionRequest.ProtoReflect.Descriptor instead.
func (*TransactionRequest) GetHash ¶ added in v1.0.0
func (x *TransactionRequest) GetHash() string
func (*TransactionRequest) ProtoMessage ¶ added in v1.0.0
func (*TransactionRequest) ProtoMessage()
func (*TransactionRequest) ProtoReflect ¶ added in v1.0.0
func (x *TransactionRequest) ProtoReflect() protoreflect.Message
func (*TransactionRequest) Reset ¶ added in v1.0.0
func (x *TransactionRequest) Reset()
func (*TransactionRequest) String ¶ added in v1.0.0
func (x *TransactionRequest) String() string
type TransactionResponse ¶ added in v1.0.0
type TransactionResponse struct { // transaction hash Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // the version Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` // vin VinSz int64 `protobuf:"varint,3,opt,name=vin_sz,json=vinSz,proto3" json:"vin_sz,omitempty"` // vout VoutSz int64 `protobuf:"varint,4,opt,name=vout_sz,json=voutSz,proto3" json:"vout_sz,omitempty"` // lock time LockTime int64 `protobuf:"varint,5,opt,name=lock_time,json=lockTime,proto3" json:"lock_time,omitempty"` // transaction size Size int64 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"` // relay Relay string `protobuf:"bytes,7,opt,name=relay,proto3" json:"relay,omitempty"` // block height BlockHeight int64 `protobuf:"varint,8,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // blck index BlockIndex int64 `protobuf:"varint,9,opt,name=block_index,json=blockIndex,proto3" json:"block_index,omitempty"` // double spend DoubleSpend bool `protobuf:"varint,10,opt,name=double_spend,json=doubleSpend,proto3" json:"double_spend,omitempty"` // weight Weight int64 `protobuf:"varint,11,opt,name=weight,proto3" json:"weight,omitempty"` // fees Fee int64 `protobuf:"varint,12,opt,name=fee,proto3" json:"fee,omitempty"` // tx index TxIndex int64 `protobuf:"varint,13,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` // inputs Inputs []*Input `protobuf:"bytes,14,rep,name=inputs,proto3" json:"inputs,omitempty"` // outputs Outputs []*Output `protobuf:"bytes,15,rep,name=outputs,proto3" json:"outputs,omitempty"` // contains filtered or unexported fields }
func (*TransactionResponse) Descriptor
deprecated
added in
v1.0.0
func (*TransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use TransactionResponse.ProtoReflect.Descriptor instead.
func (*TransactionResponse) GetBlockHeight ¶ added in v1.0.0
func (x *TransactionResponse) GetBlockHeight() int64
func (*TransactionResponse) GetBlockIndex ¶ added in v1.0.0
func (x *TransactionResponse) GetBlockIndex() int64
func (*TransactionResponse) GetDoubleSpend ¶ added in v1.0.0
func (x *TransactionResponse) GetDoubleSpend() bool
func (*TransactionResponse) GetFee ¶ added in v1.0.0
func (x *TransactionResponse) GetFee() int64
func (*TransactionResponse) GetHash ¶ added in v1.0.0
func (x *TransactionResponse) GetHash() string
func (*TransactionResponse) GetInputs ¶ added in v1.0.0
func (x *TransactionResponse) GetInputs() []*Input
func (*TransactionResponse) GetLockTime ¶ added in v1.0.0
func (x *TransactionResponse) GetLockTime() int64
func (*TransactionResponse) GetOutputs ¶ added in v1.0.0
func (x *TransactionResponse) GetOutputs() []*Output
func (*TransactionResponse) GetRelay ¶ added in v1.0.0
func (x *TransactionResponse) GetRelay() string
func (*TransactionResponse) GetSize ¶ added in v1.0.0
func (x *TransactionResponse) GetSize() int64
func (*TransactionResponse) GetTxIndex ¶ added in v1.0.0
func (x *TransactionResponse) GetTxIndex() int64
func (*TransactionResponse) GetVersion ¶ added in v1.0.0
func (x *TransactionResponse) GetVersion() int64
func (*TransactionResponse) GetVinSz ¶ added in v1.0.0
func (x *TransactionResponse) GetVinSz() int64
func (*TransactionResponse) GetVoutSz ¶ added in v1.0.0
func (x *TransactionResponse) GetVoutSz() int64
func (*TransactionResponse) GetWeight ¶ added in v1.0.0
func (x *TransactionResponse) GetWeight() int64
func (*TransactionResponse) ProtoMessage ¶ added in v1.0.0
func (*TransactionResponse) ProtoMessage()
func (*TransactionResponse) ProtoReflect ¶ added in v1.0.0
func (x *TransactionResponse) ProtoReflect() protoreflect.Message
func (*TransactionResponse) Reset ¶ added in v1.0.0
func (x *TransactionResponse) Reset()
func (*TransactionResponse) String ¶ added in v1.0.0
func (x *TransactionResponse) String() string