Documentation ¶
Index ¶
- Variables
- type ChainRequest
- func (*ChainRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChainRequest) GetGetAccountNonce() *GetAccountNonceRequest
- func (x *ChainRequest) GetGetAccountRc() *GetAccountRcRequest
- func (x *ChainRequest) GetGetChainId() *GetChainIdRequest
- func (x *ChainRequest) GetGetForkHeads() *GetForkHeadsRequest
- func (x *ChainRequest) GetGetHeadInfo() *GetHeadInfoRequest
- func (x *ChainRequest) GetGetResourceLimits() *GetResourceLimitsRequest
- func (x *ChainRequest) GetInvokeSystemCall() *InvokeSystemCallRequest
- func (x *ChainRequest) GetReadContract() *ReadContractRequest
- func (m *ChainRequest) GetRequest() isChainRequest_Request
- func (x *ChainRequest) GetReserved() *rpc.ReservedRpc
- func (x *ChainRequest) GetSubmitBlock() *SubmitBlockRequest
- func (x *ChainRequest) GetSubmitTransaction() *SubmitTransactionRequest
- func (*ChainRequest) ProtoMessage()
- func (x *ChainRequest) ProtoReflect() protoreflect.Message
- func (x *ChainRequest) Reset()
- func (x *ChainRequest) String() string
- type ChainRequest_GetAccountNonce
- type ChainRequest_GetAccountRc
- type ChainRequest_GetChainId
- type ChainRequest_GetForkHeads
- type ChainRequest_GetHeadInfo
- type ChainRequest_GetResourceLimits
- type ChainRequest_InvokeSystemCall
- type ChainRequest_ReadContract
- type ChainRequest_Reserved
- type ChainRequest_SubmitBlock
- type ChainRequest_SubmitTransaction
- type ChainResponse
- func (*ChainResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChainResponse) GetError() *rpc.ErrorResponse
- func (x *ChainResponse) GetGetAccountNonce() *GetAccountNonceResponse
- func (x *ChainResponse) GetGetAccountRc() *GetAccountRcResponse
- func (x *ChainResponse) GetGetChainId() *GetChainIdResponse
- func (x *ChainResponse) GetGetForkHeads() *GetForkHeadsResponse
- func (x *ChainResponse) GetGetHeadInfo() *GetHeadInfoResponse
- func (x *ChainResponse) GetGetResourceLimits() *GetResourceLimitsResponse
- func (x *ChainResponse) GetInvokeSystemCall() *InvokeSystemCallResponse
- func (x *ChainResponse) GetReadContract() *ReadContractResponse
- func (x *ChainResponse) GetReserved() *rpc.ReservedRpc
- func (m *ChainResponse) GetResponse() isChainResponse_Response
- func (x *ChainResponse) GetSubmitBlock() *SubmitBlockResponse
- func (x *ChainResponse) GetSubmitTransaction() *SubmitTransactionResponse
- func (*ChainResponse) ProtoMessage()
- func (x *ChainResponse) ProtoReflect() protoreflect.Message
- func (x *ChainResponse) Reset()
- func (x *ChainResponse) String() string
- type ChainResponse_Error
- type ChainResponse_GetAccountNonce
- type ChainResponse_GetAccountRc
- type ChainResponse_GetChainId
- type ChainResponse_GetForkHeads
- type ChainResponse_GetHeadInfo
- type ChainResponse_GetResourceLimits
- type ChainResponse_InvokeSystemCall
- type ChainResponse_ReadContract
- type ChainResponse_Reserved
- type ChainResponse_SubmitBlock
- type ChainResponse_SubmitTransaction
- type GetAccountNonceRequest
- func (*GetAccountNonceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountNonceRequest) GetAccount() []byte
- func (*GetAccountNonceRequest) ProtoMessage()
- func (x *GetAccountNonceRequest) ProtoReflect() protoreflect.Message
- func (x *GetAccountNonceRequest) Reset()
- func (x *GetAccountNonceRequest) String() string
- type GetAccountNonceResponse
- func (*GetAccountNonceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountNonceResponse) GetNonce() []byte
- func (*GetAccountNonceResponse) ProtoMessage()
- func (x *GetAccountNonceResponse) ProtoReflect() protoreflect.Message
- func (x *GetAccountNonceResponse) Reset()
- func (x *GetAccountNonceResponse) String() string
- type GetAccountRcRequest
- func (*GetAccountRcRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountRcRequest) GetAccount() []byte
- func (*GetAccountRcRequest) ProtoMessage()
- func (x *GetAccountRcRequest) ProtoReflect() protoreflect.Message
- func (x *GetAccountRcRequest) Reset()
- func (x *GetAccountRcRequest) String() string
- type GetAccountRcResponse
- func (*GetAccountRcResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountRcResponse) GetRc() uint64
- func (*GetAccountRcResponse) ProtoMessage()
- func (x *GetAccountRcResponse) ProtoReflect() protoreflect.Message
- func (x *GetAccountRcResponse) Reset()
- func (x *GetAccountRcResponse) String() string
- type GetChainIdRequest
- type GetChainIdResponse
- func (*GetChainIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetChainIdResponse) GetChainId() []byte
- func (*GetChainIdResponse) ProtoMessage()
- func (x *GetChainIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetChainIdResponse) Reset()
- func (x *GetChainIdResponse) String() string
- type GetForkHeadsRequest
- type GetForkHeadsResponse
- func (*GetForkHeadsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetForkHeadsResponse) GetForkHeads() []*koinos.BlockTopology
- func (x *GetForkHeadsResponse) GetLastIrreversibleBlock() *koinos.BlockTopology
- func (*GetForkHeadsResponse) ProtoMessage()
- func (x *GetForkHeadsResponse) ProtoReflect() protoreflect.Message
- func (x *GetForkHeadsResponse) Reset()
- func (x *GetForkHeadsResponse) String() string
- type GetHeadInfoRequest
- type GetHeadInfoResponse
- func (*GetHeadInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetHeadInfoResponse) GetHeadBlockTime() uint64
- func (x *GetHeadInfoResponse) GetHeadStateMerkleRoot() []byte
- func (x *GetHeadInfoResponse) GetHeadTopology() *koinos.BlockTopology
- func (x *GetHeadInfoResponse) GetLastIrreversibleBlock() uint64
- func (*GetHeadInfoResponse) ProtoMessage()
- func (x *GetHeadInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetHeadInfoResponse) Reset()
- func (x *GetHeadInfoResponse) String() string
- type GetResourceLimitsRequest
- type GetResourceLimitsResponse
- func (*GetResourceLimitsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourceLimitsResponse) GetResourceLimitData() *chain.ResourceLimitData
- func (*GetResourceLimitsResponse) ProtoMessage()
- func (x *GetResourceLimitsResponse) ProtoReflect() protoreflect.Message
- func (x *GetResourceLimitsResponse) Reset()
- func (x *GetResourceLimitsResponse) String() string
- type InvokeSystemCallRequest
- func (*InvokeSystemCallRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InvokeSystemCallRequest) GetArgs() []byte
- func (x *InvokeSystemCallRequest) GetCallerData() *chain.CallerData
- func (x *InvokeSystemCallRequest) GetId() int64
- func (x *InvokeSystemCallRequest) GetName() string
- func (m *InvokeSystemCallRequest) GetSystemCall() isInvokeSystemCallRequest_SystemCall
- func (*InvokeSystemCallRequest) ProtoMessage()
- func (x *InvokeSystemCallRequest) ProtoReflect() protoreflect.Message
- func (x *InvokeSystemCallRequest) Reset()
- func (x *InvokeSystemCallRequest) String() string
- type InvokeSystemCallRequest_Id
- type InvokeSystemCallRequest_Name
- type InvokeSystemCallResponse
- func (*InvokeSystemCallResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InvokeSystemCallResponse) GetValue() []byte
- func (*InvokeSystemCallResponse) ProtoMessage()
- func (x *InvokeSystemCallResponse) ProtoReflect() protoreflect.Message
- func (x *InvokeSystemCallResponse) Reset()
- func (x *InvokeSystemCallResponse) String() string
- type ReadContractRequest
- func (*ReadContractRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadContractRequest) GetArgs() []byte
- func (x *ReadContractRequest) GetContractId() []byte
- func (x *ReadContractRequest) GetEntryPoint() uint32
- func (*ReadContractRequest) ProtoMessage()
- func (x *ReadContractRequest) ProtoReflect() protoreflect.Message
- func (x *ReadContractRequest) Reset()
- func (x *ReadContractRequest) String() string
- type ReadContractResponse
- func (*ReadContractResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadContractResponse) GetLogs() []string
- func (x *ReadContractResponse) GetResult() []byte
- func (*ReadContractResponse) ProtoMessage()
- func (x *ReadContractResponse) ProtoReflect() protoreflect.Message
- func (x *ReadContractResponse) Reset()
- func (x *ReadContractResponse) String() string
- type SubmitBlockRequest
- func (*SubmitBlockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitBlockRequest) GetBlock() *protocol.Block
- func (*SubmitBlockRequest) ProtoMessage()
- func (x *SubmitBlockRequest) ProtoReflect() protoreflect.Message
- func (x *SubmitBlockRequest) Reset()
- func (x *SubmitBlockRequest) String() string
- type SubmitBlockResponse
- func (*SubmitBlockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitBlockResponse) GetReceipt() *protocol.BlockReceipt
- func (*SubmitBlockResponse) ProtoMessage()
- func (x *SubmitBlockResponse) ProtoReflect() protoreflect.Message
- func (x *SubmitBlockResponse) Reset()
- func (x *SubmitBlockResponse) String() string
- type SubmitTransactionRequest
- func (*SubmitTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitTransactionRequest) GetBroadcast() bool
- func (x *SubmitTransactionRequest) GetTransaction() *protocol.Transaction
- func (*SubmitTransactionRequest) ProtoMessage()
- func (x *SubmitTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *SubmitTransactionRequest) Reset()
- func (x *SubmitTransactionRequest) String() string
- type SubmitTransactionResponse
- func (*SubmitTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitTransactionResponse) GetReceipt() *protocol.TransactionReceipt
- func (*SubmitTransactionResponse) ProtoMessage()
- func (x *SubmitTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *SubmitTransactionResponse) Reset()
- func (x *SubmitTransactionResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var File_koinos_rpc_chain_chain_rpc_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ChainRequest ¶
type ChainRequest struct { // Types that are assignable to Request: // *ChainRequest_Reserved // *ChainRequest_SubmitBlock // *ChainRequest_SubmitTransaction // *ChainRequest_GetHeadInfo // *ChainRequest_GetChainId // *ChainRequest_GetForkHeads // *ChainRequest_ReadContract // *ChainRequest_GetAccountNonce // *ChainRequest_GetAccountRc // *ChainRequest_GetResourceLimits // *ChainRequest_InvokeSystemCall Request isChainRequest_Request `protobuf_oneof:"request"` // contains filtered or unexported fields }
func (*ChainRequest) Descriptor
deprecated
func (*ChainRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChainRequest.ProtoReflect.Descriptor instead.
func (*ChainRequest) GetGetAccountNonce ¶
func (x *ChainRequest) GetGetAccountNonce() *GetAccountNonceRequest
func (*ChainRequest) GetGetAccountRc ¶
func (x *ChainRequest) GetGetAccountRc() *GetAccountRcRequest
func (*ChainRequest) GetGetChainId ¶
func (x *ChainRequest) GetGetChainId() *GetChainIdRequest
func (*ChainRequest) GetGetForkHeads ¶
func (x *ChainRequest) GetGetForkHeads() *GetForkHeadsRequest
func (*ChainRequest) GetGetHeadInfo ¶
func (x *ChainRequest) GetGetHeadInfo() *GetHeadInfoRequest
func (*ChainRequest) GetGetResourceLimits ¶
func (x *ChainRequest) GetGetResourceLimits() *GetResourceLimitsRequest
func (*ChainRequest) GetInvokeSystemCall ¶ added in v1.3.0
func (x *ChainRequest) GetInvokeSystemCall() *InvokeSystemCallRequest
func (*ChainRequest) GetReadContract ¶
func (x *ChainRequest) GetReadContract() *ReadContractRequest
func (*ChainRequest) GetRequest ¶
func (m *ChainRequest) GetRequest() isChainRequest_Request
func (*ChainRequest) GetReserved ¶
func (x *ChainRequest) GetReserved() *rpc.ReservedRpc
func (*ChainRequest) GetSubmitBlock ¶
func (x *ChainRequest) GetSubmitBlock() *SubmitBlockRequest
func (*ChainRequest) GetSubmitTransaction ¶
func (x *ChainRequest) GetSubmitTransaction() *SubmitTransactionRequest
func (*ChainRequest) ProtoMessage ¶
func (*ChainRequest) ProtoMessage()
func (*ChainRequest) ProtoReflect ¶
func (x *ChainRequest) ProtoReflect() protoreflect.Message
func (*ChainRequest) Reset ¶
func (x *ChainRequest) Reset()
func (*ChainRequest) String ¶
func (x *ChainRequest) String() string
type ChainRequest_GetAccountNonce ¶
type ChainRequest_GetAccountNonce struct {
GetAccountNonce *GetAccountNonceRequest `protobuf:"bytes,8,opt,name=get_account_nonce,json=getAccountNonce,proto3,oneof"`
}
type ChainRequest_GetAccountRc ¶
type ChainRequest_GetAccountRc struct {
GetAccountRc *GetAccountRcRequest `protobuf:"bytes,9,opt,name=get_account_rc,json=getAccountRc,proto3,oneof"`
}
type ChainRequest_GetChainId ¶
type ChainRequest_GetChainId struct {
GetChainId *GetChainIdRequest `protobuf:"bytes,5,opt,name=get_chain_id,json=getChainId,proto3,oneof"`
}
type ChainRequest_GetForkHeads ¶
type ChainRequest_GetForkHeads struct {
GetForkHeads *GetForkHeadsRequest `protobuf:"bytes,6,opt,name=get_fork_heads,json=getForkHeads,proto3,oneof"`
}
type ChainRequest_GetHeadInfo ¶
type ChainRequest_GetHeadInfo struct {
GetHeadInfo *GetHeadInfoRequest `protobuf:"bytes,4,opt,name=get_head_info,json=getHeadInfo,proto3,oneof"`
}
type ChainRequest_GetResourceLimits ¶
type ChainRequest_GetResourceLimits struct {
GetResourceLimits *GetResourceLimitsRequest `protobuf:"bytes,10,opt,name=get_resource_limits,json=getResourceLimits,proto3,oneof"`
}
type ChainRequest_InvokeSystemCall ¶ added in v1.3.0
type ChainRequest_InvokeSystemCall struct {
InvokeSystemCall *InvokeSystemCallRequest `protobuf:"bytes,11,opt,name=invoke_system_call,json=invokeSystemCall,proto3,oneof"`
}
type ChainRequest_ReadContract ¶
type ChainRequest_ReadContract struct {
ReadContract *ReadContractRequest `protobuf:"bytes,7,opt,name=read_contract,json=readContract,proto3,oneof"`
}
type ChainRequest_Reserved ¶
type ChainRequest_Reserved struct {
Reserved *rpc.ReservedRpc `protobuf:"bytes,1,opt,name=reserved,proto3,oneof"`
}
type ChainRequest_SubmitBlock ¶
type ChainRequest_SubmitBlock struct {
SubmitBlock *SubmitBlockRequest `protobuf:"bytes,2,opt,name=submit_block,json=submitBlock,proto3,oneof"`
}
type ChainRequest_SubmitTransaction ¶
type ChainRequest_SubmitTransaction struct {
SubmitTransaction *SubmitTransactionRequest `protobuf:"bytes,3,opt,name=submit_transaction,json=submitTransaction,proto3,oneof"`
}
type ChainResponse ¶
type ChainResponse struct { // Types that are assignable to Response: // *ChainResponse_Reserved // *ChainResponse_Error // *ChainResponse_SubmitBlock // *ChainResponse_SubmitTransaction // *ChainResponse_GetHeadInfo // *ChainResponse_GetChainId // *ChainResponse_GetForkHeads // *ChainResponse_ReadContract // *ChainResponse_GetAccountNonce // *ChainResponse_GetAccountRc // *ChainResponse_GetResourceLimits // *ChainResponse_InvokeSystemCall Response isChainResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*ChainResponse) Descriptor
deprecated
func (*ChainResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChainResponse.ProtoReflect.Descriptor instead.
func (*ChainResponse) GetError ¶
func (x *ChainResponse) GetError() *rpc.ErrorResponse
func (*ChainResponse) GetGetAccountNonce ¶
func (x *ChainResponse) GetGetAccountNonce() *GetAccountNonceResponse
func (*ChainResponse) GetGetAccountRc ¶
func (x *ChainResponse) GetGetAccountRc() *GetAccountRcResponse
func (*ChainResponse) GetGetChainId ¶
func (x *ChainResponse) GetGetChainId() *GetChainIdResponse
func (*ChainResponse) GetGetForkHeads ¶
func (x *ChainResponse) GetGetForkHeads() *GetForkHeadsResponse
func (*ChainResponse) GetGetHeadInfo ¶
func (x *ChainResponse) GetGetHeadInfo() *GetHeadInfoResponse
func (*ChainResponse) GetGetResourceLimits ¶
func (x *ChainResponse) GetGetResourceLimits() *GetResourceLimitsResponse
func (*ChainResponse) GetInvokeSystemCall ¶ added in v1.3.0
func (x *ChainResponse) GetInvokeSystemCall() *InvokeSystemCallResponse
func (*ChainResponse) GetReadContract ¶
func (x *ChainResponse) GetReadContract() *ReadContractResponse
func (*ChainResponse) GetReserved ¶
func (x *ChainResponse) GetReserved() *rpc.ReservedRpc
func (*ChainResponse) GetResponse ¶
func (m *ChainResponse) GetResponse() isChainResponse_Response
func (*ChainResponse) GetSubmitBlock ¶
func (x *ChainResponse) GetSubmitBlock() *SubmitBlockResponse
func (*ChainResponse) GetSubmitTransaction ¶
func (x *ChainResponse) GetSubmitTransaction() *SubmitTransactionResponse
func (*ChainResponse) ProtoMessage ¶
func (*ChainResponse) ProtoMessage()
func (*ChainResponse) ProtoReflect ¶
func (x *ChainResponse) ProtoReflect() protoreflect.Message
func (*ChainResponse) Reset ¶
func (x *ChainResponse) Reset()
func (*ChainResponse) String ¶
func (x *ChainResponse) String() string
type ChainResponse_Error ¶
type ChainResponse_Error struct {
Error *rpc.ErrorResponse `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type ChainResponse_GetAccountNonce ¶
type ChainResponse_GetAccountNonce struct {
GetAccountNonce *GetAccountNonceResponse `protobuf:"bytes,9,opt,name=get_account_nonce,json=getAccountNonce,proto3,oneof"`
}
type ChainResponse_GetAccountRc ¶
type ChainResponse_GetAccountRc struct {
GetAccountRc *GetAccountRcResponse `protobuf:"bytes,10,opt,name=get_account_rc,json=getAccountRc,proto3,oneof"`
}
type ChainResponse_GetChainId ¶
type ChainResponse_GetChainId struct {
GetChainId *GetChainIdResponse `protobuf:"bytes,6,opt,name=get_chain_id,json=getChainId,proto3,oneof"`
}
type ChainResponse_GetForkHeads ¶
type ChainResponse_GetForkHeads struct {
GetForkHeads *GetForkHeadsResponse `protobuf:"bytes,7,opt,name=get_fork_heads,json=getForkHeads,proto3,oneof"`
}
type ChainResponse_GetHeadInfo ¶
type ChainResponse_GetHeadInfo struct {
GetHeadInfo *GetHeadInfoResponse `protobuf:"bytes,5,opt,name=get_head_info,json=getHeadInfo,proto3,oneof"`
}
type ChainResponse_GetResourceLimits ¶
type ChainResponse_GetResourceLimits struct {
GetResourceLimits *GetResourceLimitsResponse `protobuf:"bytes,11,opt,name=get_resource_limits,json=getResourceLimits,proto3,oneof"`
}
type ChainResponse_InvokeSystemCall ¶ added in v1.3.0
type ChainResponse_InvokeSystemCall struct {
InvokeSystemCall *InvokeSystemCallResponse `protobuf:"bytes,12,opt,name=invoke_system_call,json=invokeSystemCall,proto3,oneof"`
}
type ChainResponse_ReadContract ¶
type ChainResponse_ReadContract struct {
ReadContract *ReadContractResponse `protobuf:"bytes,8,opt,name=read_contract,json=readContract,proto3,oneof"`
}
type ChainResponse_Reserved ¶
type ChainResponse_Reserved struct {
Reserved *rpc.ReservedRpc `protobuf:"bytes,1,opt,name=reserved,proto3,oneof"`
}
type ChainResponse_SubmitBlock ¶
type ChainResponse_SubmitBlock struct {
SubmitBlock *SubmitBlockResponse `protobuf:"bytes,3,opt,name=submit_block,json=submitBlock,proto3,oneof"`
}
type ChainResponse_SubmitTransaction ¶
type ChainResponse_SubmitTransaction struct {
SubmitTransaction *SubmitTransactionResponse `protobuf:"bytes,4,opt,name=submit_transaction,json=submitTransaction,proto3,oneof"`
}
type GetAccountNonceRequest ¶
type GetAccountNonceRequest struct { Account []byte `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*GetAccountNonceRequest) Descriptor
deprecated
func (*GetAccountNonceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountNonceRequest.ProtoReflect.Descriptor instead.
func (*GetAccountNonceRequest) GetAccount ¶
func (x *GetAccountNonceRequest) GetAccount() []byte
func (*GetAccountNonceRequest) ProtoMessage ¶
func (*GetAccountNonceRequest) ProtoMessage()
func (*GetAccountNonceRequest) ProtoReflect ¶
func (x *GetAccountNonceRequest) ProtoReflect() protoreflect.Message
func (*GetAccountNonceRequest) Reset ¶
func (x *GetAccountNonceRequest) Reset()
func (*GetAccountNonceRequest) String ¶
func (x *GetAccountNonceRequest) String() string
type GetAccountNonceResponse ¶
type GetAccountNonceResponse struct { Nonce []byte `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"` // contains filtered or unexported fields }
func (*GetAccountNonceResponse) Descriptor
deprecated
func (*GetAccountNonceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountNonceResponse.ProtoReflect.Descriptor instead.
func (*GetAccountNonceResponse) GetNonce ¶
func (x *GetAccountNonceResponse) GetNonce() []byte
func (*GetAccountNonceResponse) ProtoMessage ¶
func (*GetAccountNonceResponse) ProtoMessage()
func (*GetAccountNonceResponse) ProtoReflect ¶
func (x *GetAccountNonceResponse) ProtoReflect() protoreflect.Message
func (*GetAccountNonceResponse) Reset ¶
func (x *GetAccountNonceResponse) Reset()
func (*GetAccountNonceResponse) String ¶
func (x *GetAccountNonceResponse) String() string
type GetAccountRcRequest ¶
type GetAccountRcRequest struct { Account []byte `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*GetAccountRcRequest) Descriptor
deprecated
func (*GetAccountRcRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountRcRequest.ProtoReflect.Descriptor instead.
func (*GetAccountRcRequest) GetAccount ¶
func (x *GetAccountRcRequest) GetAccount() []byte
func (*GetAccountRcRequest) ProtoMessage ¶
func (*GetAccountRcRequest) ProtoMessage()
func (*GetAccountRcRequest) ProtoReflect ¶
func (x *GetAccountRcRequest) ProtoReflect() protoreflect.Message
func (*GetAccountRcRequest) Reset ¶
func (x *GetAccountRcRequest) Reset()
func (*GetAccountRcRequest) String ¶
func (x *GetAccountRcRequest) String() string
type GetAccountRcResponse ¶
type GetAccountRcResponse struct { Rc uint64 `protobuf:"varint,1,opt,name=rc,proto3" json:"rc,omitempty"` // contains filtered or unexported fields }
func (*GetAccountRcResponse) Descriptor
deprecated
func (*GetAccountRcResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountRcResponse.ProtoReflect.Descriptor instead.
func (*GetAccountRcResponse) GetRc ¶
func (x *GetAccountRcResponse) GetRc() uint64
func (*GetAccountRcResponse) ProtoMessage ¶
func (*GetAccountRcResponse) ProtoMessage()
func (*GetAccountRcResponse) ProtoReflect ¶
func (x *GetAccountRcResponse) ProtoReflect() protoreflect.Message
func (*GetAccountRcResponse) Reset ¶
func (x *GetAccountRcResponse) Reset()
func (*GetAccountRcResponse) String ¶
func (x *GetAccountRcResponse) String() string
type GetChainIdRequest ¶
type GetChainIdRequest struct {
// contains filtered or unexported fields
}
func (*GetChainIdRequest) Descriptor
deprecated
func (*GetChainIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChainIdRequest.ProtoReflect.Descriptor instead.
func (*GetChainIdRequest) ProtoMessage ¶
func (*GetChainIdRequest) ProtoMessage()
func (*GetChainIdRequest) ProtoReflect ¶
func (x *GetChainIdRequest) ProtoReflect() protoreflect.Message
func (*GetChainIdRequest) Reset ¶
func (x *GetChainIdRequest) Reset()
func (*GetChainIdRequest) String ¶
func (x *GetChainIdRequest) String() string
type GetChainIdResponse ¶
type GetChainIdResponse struct { ChainId []byte `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // contains filtered or unexported fields }
func (*GetChainIdResponse) Descriptor
deprecated
func (*GetChainIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetChainIdResponse.ProtoReflect.Descriptor instead.
func (*GetChainIdResponse) GetChainId ¶
func (x *GetChainIdResponse) GetChainId() []byte
func (*GetChainIdResponse) ProtoMessage ¶
func (*GetChainIdResponse) ProtoMessage()
func (*GetChainIdResponse) ProtoReflect ¶
func (x *GetChainIdResponse) ProtoReflect() protoreflect.Message
func (*GetChainIdResponse) Reset ¶
func (x *GetChainIdResponse) Reset()
func (*GetChainIdResponse) String ¶
func (x *GetChainIdResponse) String() string
type GetForkHeadsRequest ¶
type GetForkHeadsRequest struct {
// contains filtered or unexported fields
}
func (*GetForkHeadsRequest) Descriptor
deprecated
func (*GetForkHeadsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetForkHeadsRequest.ProtoReflect.Descriptor instead.
func (*GetForkHeadsRequest) ProtoMessage ¶
func (*GetForkHeadsRequest) ProtoMessage()
func (*GetForkHeadsRequest) ProtoReflect ¶
func (x *GetForkHeadsRequest) ProtoReflect() protoreflect.Message
func (*GetForkHeadsRequest) Reset ¶
func (x *GetForkHeadsRequest) Reset()
func (*GetForkHeadsRequest) String ¶
func (x *GetForkHeadsRequest) String() string
type GetForkHeadsResponse ¶
type GetForkHeadsResponse struct { LastIrreversibleBlock *koinos.BlockTopology `` /* 126-byte string literal not displayed */ ForkHeads []*koinos.BlockTopology `protobuf:"bytes,2,rep,name=fork_heads,json=forkHeads,proto3" json:"fork_heads,omitempty"` // contains filtered or unexported fields }
func (*GetForkHeadsResponse) Descriptor
deprecated
func (*GetForkHeadsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetForkHeadsResponse.ProtoReflect.Descriptor instead.
func (*GetForkHeadsResponse) GetForkHeads ¶
func (x *GetForkHeadsResponse) GetForkHeads() []*koinos.BlockTopology
func (*GetForkHeadsResponse) GetLastIrreversibleBlock ¶
func (x *GetForkHeadsResponse) GetLastIrreversibleBlock() *koinos.BlockTopology
func (*GetForkHeadsResponse) ProtoMessage ¶
func (*GetForkHeadsResponse) ProtoMessage()
func (*GetForkHeadsResponse) ProtoReflect ¶
func (x *GetForkHeadsResponse) ProtoReflect() protoreflect.Message
func (*GetForkHeadsResponse) Reset ¶
func (x *GetForkHeadsResponse) Reset()
func (*GetForkHeadsResponse) String ¶
func (x *GetForkHeadsResponse) String() string
type GetHeadInfoRequest ¶
type GetHeadInfoRequest struct {
// contains filtered or unexported fields
}
func (*GetHeadInfoRequest) Descriptor
deprecated
func (*GetHeadInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHeadInfoRequest.ProtoReflect.Descriptor instead.
func (*GetHeadInfoRequest) ProtoMessage ¶
func (*GetHeadInfoRequest) ProtoMessage()
func (*GetHeadInfoRequest) ProtoReflect ¶
func (x *GetHeadInfoRequest) ProtoReflect() protoreflect.Message
func (*GetHeadInfoRequest) Reset ¶
func (x *GetHeadInfoRequest) Reset()
func (*GetHeadInfoRequest) String ¶
func (x *GetHeadInfoRequest) String() string
type GetHeadInfoResponse ¶
type GetHeadInfoResponse struct { HeadTopology *koinos.BlockTopology `protobuf:"bytes,1,opt,name=head_topology,json=headTopology,proto3" json:"head_topology,omitempty"` LastIrreversibleBlock uint64 `` /* 127-byte string literal not displayed */ HeadStateMerkleRoot []byte `protobuf:"bytes,3,opt,name=head_state_merkle_root,json=headStateMerkleRoot,proto3" json:"head_state_merkle_root,omitempty"` HeadBlockTime uint64 `protobuf:"varint,4,opt,name=head_block_time,json=headBlockTime,proto3" json:"head_block_time,omitempty"` // contains filtered or unexported fields }
func (*GetHeadInfoResponse) Descriptor
deprecated
func (*GetHeadInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetHeadInfoResponse.ProtoReflect.Descriptor instead.
func (*GetHeadInfoResponse) GetHeadBlockTime ¶ added in v0.4.0
func (x *GetHeadInfoResponse) GetHeadBlockTime() uint64
func (*GetHeadInfoResponse) GetHeadStateMerkleRoot ¶ added in v0.3.0
func (x *GetHeadInfoResponse) GetHeadStateMerkleRoot() []byte
func (*GetHeadInfoResponse) GetHeadTopology ¶
func (x *GetHeadInfoResponse) GetHeadTopology() *koinos.BlockTopology
func (*GetHeadInfoResponse) GetLastIrreversibleBlock ¶
func (x *GetHeadInfoResponse) GetLastIrreversibleBlock() uint64
func (*GetHeadInfoResponse) ProtoMessage ¶
func (*GetHeadInfoResponse) ProtoMessage()
func (*GetHeadInfoResponse) ProtoReflect ¶
func (x *GetHeadInfoResponse) ProtoReflect() protoreflect.Message
func (*GetHeadInfoResponse) Reset ¶
func (x *GetHeadInfoResponse) Reset()
func (*GetHeadInfoResponse) String ¶
func (x *GetHeadInfoResponse) String() string
type GetResourceLimitsRequest ¶
type GetResourceLimitsRequest struct {
// contains filtered or unexported fields
}
func (*GetResourceLimitsRequest) Descriptor
deprecated
func (*GetResourceLimitsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetResourceLimitsRequest.ProtoReflect.Descriptor instead.
func (*GetResourceLimitsRequest) ProtoMessage ¶
func (*GetResourceLimitsRequest) ProtoMessage()
func (*GetResourceLimitsRequest) ProtoReflect ¶
func (x *GetResourceLimitsRequest) ProtoReflect() protoreflect.Message
func (*GetResourceLimitsRequest) Reset ¶
func (x *GetResourceLimitsRequest) Reset()
func (*GetResourceLimitsRequest) String ¶
func (x *GetResourceLimitsRequest) String() string
type GetResourceLimitsResponse ¶
type GetResourceLimitsResponse struct { ResourceLimitData *chain.ResourceLimitData `protobuf:"bytes,1,opt,name=resource_limit_data,json=resourceLimitData,proto3" json:"resource_limit_data,omitempty"` // contains filtered or unexported fields }
func (*GetResourceLimitsResponse) Descriptor
deprecated
func (*GetResourceLimitsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResourceLimitsResponse.ProtoReflect.Descriptor instead.
func (*GetResourceLimitsResponse) GetResourceLimitData ¶
func (x *GetResourceLimitsResponse) GetResourceLimitData() *chain.ResourceLimitData
func (*GetResourceLimitsResponse) ProtoMessage ¶
func (*GetResourceLimitsResponse) ProtoMessage()
func (*GetResourceLimitsResponse) ProtoReflect ¶
func (x *GetResourceLimitsResponse) ProtoReflect() protoreflect.Message
func (*GetResourceLimitsResponse) Reset ¶
func (x *GetResourceLimitsResponse) Reset()
func (*GetResourceLimitsResponse) String ¶
func (x *GetResourceLimitsResponse) String() string
type InvokeSystemCallRequest ¶ added in v1.3.0
type InvokeSystemCallRequest struct { // Types that are assignable to SystemCall: // *InvokeSystemCallRequest_Id // *InvokeSystemCallRequest_Name SystemCall isInvokeSystemCallRequest_SystemCall `protobuf_oneof:"system_call"` Args []byte `protobuf:"bytes,3,opt,name=args,proto3" json:"args,omitempty"` CallerData *chain.CallerData `protobuf:"bytes,4,opt,name=caller_data,json=callerData,proto3,oneof" json:"caller_data,omitempty"` // contains filtered or unexported fields }
func (*InvokeSystemCallRequest) Descriptor
deprecated
added in
v1.3.0
func (*InvokeSystemCallRequest) Descriptor() ([]byte, []int)
Deprecated: Use InvokeSystemCallRequest.ProtoReflect.Descriptor instead.
func (*InvokeSystemCallRequest) GetArgs ¶ added in v1.3.0
func (x *InvokeSystemCallRequest) GetArgs() []byte
func (*InvokeSystemCallRequest) GetCallerData ¶ added in v1.3.0
func (x *InvokeSystemCallRequest) GetCallerData() *chain.CallerData
func (*InvokeSystemCallRequest) GetId ¶ added in v1.3.0
func (x *InvokeSystemCallRequest) GetId() int64
func (*InvokeSystemCallRequest) GetName ¶ added in v1.3.0
func (x *InvokeSystemCallRequest) GetName() string
func (*InvokeSystemCallRequest) GetSystemCall ¶ added in v1.3.0
func (m *InvokeSystemCallRequest) GetSystemCall() isInvokeSystemCallRequest_SystemCall
func (*InvokeSystemCallRequest) ProtoMessage ¶ added in v1.3.0
func (*InvokeSystemCallRequest) ProtoMessage()
func (*InvokeSystemCallRequest) ProtoReflect ¶ added in v1.3.0
func (x *InvokeSystemCallRequest) ProtoReflect() protoreflect.Message
func (*InvokeSystemCallRequest) Reset ¶ added in v1.3.0
func (x *InvokeSystemCallRequest) Reset()
func (*InvokeSystemCallRequest) String ¶ added in v1.3.0
func (x *InvokeSystemCallRequest) String() string
type InvokeSystemCallRequest_Id ¶ added in v1.3.0
type InvokeSystemCallRequest_Id struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3,oneof"`
}
type InvokeSystemCallRequest_Name ¶ added in v1.3.0
type InvokeSystemCallRequest_Name struct {
Name string `protobuf:"bytes,2,opt,name=name,proto3,oneof"`
}
type InvokeSystemCallResponse ¶ added in v1.3.0
type InvokeSystemCallResponse struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*InvokeSystemCallResponse) Descriptor
deprecated
added in
v1.3.0
func (*InvokeSystemCallResponse) Descriptor() ([]byte, []int)
Deprecated: Use InvokeSystemCallResponse.ProtoReflect.Descriptor instead.
func (*InvokeSystemCallResponse) GetValue ¶ added in v1.3.0
func (x *InvokeSystemCallResponse) GetValue() []byte
func (*InvokeSystemCallResponse) ProtoMessage ¶ added in v1.3.0
func (*InvokeSystemCallResponse) ProtoMessage()
func (*InvokeSystemCallResponse) ProtoReflect ¶ added in v1.3.0
func (x *InvokeSystemCallResponse) ProtoReflect() protoreflect.Message
func (*InvokeSystemCallResponse) Reset ¶ added in v1.3.0
func (x *InvokeSystemCallResponse) Reset()
func (*InvokeSystemCallResponse) String ¶ added in v1.3.0
func (x *InvokeSystemCallResponse) String() string
type ReadContractRequest ¶
type ReadContractRequest struct { ContractId []byte `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` EntryPoint uint32 `protobuf:"varint,2,opt,name=entry_point,json=entryPoint,proto3" json:"entry_point,omitempty"` Args []byte `protobuf:"bytes,3,opt,name=args,proto3" json:"args,omitempty"` // contains filtered or unexported fields }
func (*ReadContractRequest) Descriptor
deprecated
func (*ReadContractRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadContractRequest.ProtoReflect.Descriptor instead.
func (*ReadContractRequest) GetArgs ¶
func (x *ReadContractRequest) GetArgs() []byte
func (*ReadContractRequest) GetContractId ¶
func (x *ReadContractRequest) GetContractId() []byte
func (*ReadContractRequest) GetEntryPoint ¶
func (x *ReadContractRequest) GetEntryPoint() uint32
func (*ReadContractRequest) ProtoMessage ¶
func (*ReadContractRequest) ProtoMessage()
func (*ReadContractRequest) ProtoReflect ¶
func (x *ReadContractRequest) ProtoReflect() protoreflect.Message
func (*ReadContractRequest) Reset ¶
func (x *ReadContractRequest) Reset()
func (*ReadContractRequest) String ¶
func (x *ReadContractRequest) String() string
type ReadContractResponse ¶
type ReadContractResponse struct { Result []byte `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Logs []string `protobuf:"bytes,2,rep,name=logs,proto3" json:"logs,omitempty"` // contains filtered or unexported fields }
func (*ReadContractResponse) Descriptor
deprecated
func (*ReadContractResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadContractResponse.ProtoReflect.Descriptor instead.
func (*ReadContractResponse) GetLogs ¶
func (x *ReadContractResponse) GetLogs() []string
func (*ReadContractResponse) GetResult ¶
func (x *ReadContractResponse) GetResult() []byte
func (*ReadContractResponse) ProtoMessage ¶
func (*ReadContractResponse) ProtoMessage()
func (*ReadContractResponse) ProtoReflect ¶
func (x *ReadContractResponse) ProtoReflect() protoreflect.Message
func (*ReadContractResponse) Reset ¶
func (x *ReadContractResponse) Reset()
func (*ReadContractResponse) String ¶
func (x *ReadContractResponse) String() string
type SubmitBlockRequest ¶
type SubmitBlockRequest struct { Block *protocol.Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` // contains filtered or unexported fields }
func (*SubmitBlockRequest) Descriptor
deprecated
func (*SubmitBlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubmitBlockRequest.ProtoReflect.Descriptor instead.
func (*SubmitBlockRequest) GetBlock ¶
func (x *SubmitBlockRequest) GetBlock() *protocol.Block
func (*SubmitBlockRequest) ProtoMessage ¶
func (*SubmitBlockRequest) ProtoMessage()
func (*SubmitBlockRequest) ProtoReflect ¶
func (x *SubmitBlockRequest) ProtoReflect() protoreflect.Message
func (*SubmitBlockRequest) Reset ¶
func (x *SubmitBlockRequest) Reset()
func (*SubmitBlockRequest) String ¶
func (x *SubmitBlockRequest) String() string
type SubmitBlockResponse ¶
type SubmitBlockResponse struct { Receipt *protocol.BlockReceipt `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"` // contains filtered or unexported fields }
func (*SubmitBlockResponse) Descriptor
deprecated
func (*SubmitBlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubmitBlockResponse.ProtoReflect.Descriptor instead.
func (*SubmitBlockResponse) GetReceipt ¶ added in v0.3.0
func (x *SubmitBlockResponse) GetReceipt() *protocol.BlockReceipt
func (*SubmitBlockResponse) ProtoMessage ¶
func (*SubmitBlockResponse) ProtoMessage()
func (*SubmitBlockResponse) ProtoReflect ¶
func (x *SubmitBlockResponse) ProtoReflect() protoreflect.Message
func (*SubmitBlockResponse) Reset ¶
func (x *SubmitBlockResponse) Reset()
func (*SubmitBlockResponse) String ¶
func (x *SubmitBlockResponse) String() string
type SubmitTransactionRequest ¶
type SubmitTransactionRequest struct { Transaction *protocol.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` Broadcast bool `protobuf:"varint,2,opt,name=broadcast,proto3" json:"broadcast,omitempty"` // contains filtered or unexported fields }
func (*SubmitTransactionRequest) Descriptor
deprecated
func (*SubmitTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubmitTransactionRequest.ProtoReflect.Descriptor instead.
func (*SubmitTransactionRequest) GetBroadcast ¶ added in v0.4.0
func (x *SubmitTransactionRequest) GetBroadcast() bool
func (*SubmitTransactionRequest) GetTransaction ¶
func (x *SubmitTransactionRequest) GetTransaction() *protocol.Transaction
func (*SubmitTransactionRequest) ProtoMessage ¶
func (*SubmitTransactionRequest) ProtoMessage()
func (*SubmitTransactionRequest) ProtoReflect ¶
func (x *SubmitTransactionRequest) ProtoReflect() protoreflect.Message
func (*SubmitTransactionRequest) Reset ¶
func (x *SubmitTransactionRequest) Reset()
func (*SubmitTransactionRequest) String ¶
func (x *SubmitTransactionRequest) String() string
type SubmitTransactionResponse ¶
type SubmitTransactionResponse struct { Receipt *protocol.TransactionReceipt `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"` // contains filtered or unexported fields }
func (*SubmitTransactionResponse) Descriptor
deprecated
func (*SubmitTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubmitTransactionResponse.ProtoReflect.Descriptor instead.
func (*SubmitTransactionResponse) GetReceipt ¶ added in v0.3.0
func (x *SubmitTransactionResponse) GetReceipt() *protocol.TransactionReceipt
func (*SubmitTransactionResponse) ProtoMessage ¶
func (*SubmitTransactionResponse) ProtoMessage()
func (*SubmitTransactionResponse) ProtoReflect ¶
func (x *SubmitTransactionResponse) ProtoReflect() protoreflect.Message
func (*SubmitTransactionResponse) Reset ¶
func (x *SubmitTransactionResponse) Reset()
func (*SubmitTransactionResponse) String ¶
func (x *SubmitTransactionResponse) String() string