Documentation
¶
Index ¶
- Variables
- type RequiredSignature
- func (*RequiredSignature) Descriptor() ([]byte, []int)deprecated
- func (x *RequiredSignature) GetPayload() []byte
- func (x *RequiredSignature) GetSignature() *v11.Signature
- func (*RequiredSignature) ProtoMessage()
- func (x *RequiredSignature) ProtoReflect() protoreflect.Message
- func (x *RequiredSignature) Reset()
- func (x *RequiredSignature) String() string
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetHash() string
- func (x *Transaction) GetInput() *TransactionInput
- func (x *Transaction) GetRawSignedTransaction() []byte
- func (x *Transaction) GetRequiredSignatures() []*RequiredSignature
- func (*Transaction) ProtoMessage()
- func (x *Transaction) ProtoReflect() protoreflect.Message
- func (x *Transaction) Reset()
- func (x *Transaction) String() string
- type TransactionFee
- func (*TransactionFee) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionFee) GetEthereumFee() *v1.DynamicFeeInput
- func (m *TransactionFee) GetFee() isTransactionFee_Fee
- func (*TransactionFee) ProtoMessage()
- func (x *TransactionFee) ProtoReflect() protoreflect.Message
- func (x *TransactionFee) Reset()
- func (x *TransactionFee) String() string
- type TransactionFee_EthereumFee
- type TransactionInput
- func (*TransactionInput) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionInput) GetEthereumRlpInput() *v1.RLPTransaction
- func (x *TransactionInput) GetEthereum_1559Input() *v1.EIP1559TransactionInput
- func (m *TransactionInput) GetInput() isTransactionInput_Input
- func (*TransactionInput) ProtoMessage()
- func (x *TransactionInput) ProtoReflect() protoreflect.Message
- func (x *TransactionInput) Reset()
- func (x *TransactionInput) String() string
- type TransactionInput_EthereumRlpInput
- type TransactionInput_Ethereum_1559Input
Constants ¶
This section is empty.
Variables ¶
View Source
var File_coinbase_cloud_types_v1_transaction_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type RequiredSignature ¶
type RequiredSignature struct { // The payload to be signed. The TransactionInput must be transformed into // this payload. For EVM chains, this would be the hash of the type-prefixed // RLP encoding of the transaction defined in EIP-2718. This is also the // value that should be used in the MPCKeyService's CreateSignature API. Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` // The signature representing the signed payload. This must be set in order // for a Transaction to be broadcast. Signature *v11.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
A message representing a payload to be signed and its result.
func (*RequiredSignature) Descriptor
deprecated
func (*RequiredSignature) Descriptor() ([]byte, []int)
Deprecated: Use RequiredSignature.ProtoReflect.Descriptor instead.
func (*RequiredSignature) GetPayload ¶
func (x *RequiredSignature) GetPayload() []byte
func (*RequiredSignature) GetSignature ¶
func (x *RequiredSignature) GetSignature() *v11.Signature
func (*RequiredSignature) ProtoMessage ¶
func (*RequiredSignature) ProtoMessage()
func (*RequiredSignature) ProtoReflect ¶
func (x *RequiredSignature) ProtoReflect() protoreflect.Message
func (*RequiredSignature) Reset ¶
func (x *RequiredSignature) Reset()
func (*RequiredSignature) String ¶
func (x *RequiredSignature) String() string
type Transaction ¶
type Transaction struct { // A user-specified transaction in one of the supported input types. Input *TransactionInput `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"` // The set of signatures required to broadcast this Transaction. // For EVM networks, there will be only one signature. RequiredSignatures []*RequiredSignature `protobuf:"bytes,2,rep,name=required_signatures,json=requiredSignatures,proto3" json:"required_signatures,omitempty"` // The signed transaction to be broadcast. This value can be directly broadcast on-chain. // The Signatures in required_signatures need to be transformed into this value. // For EVM chains, this is just the R, S, and V values of the signature concatenated. RawSignedTransaction []byte `protobuf:"bytes,3,opt,name=raw_signed_transaction,json=rawSignedTransaction,proto3" json:"raw_signed_transaction,omitempty"` // The hash of the signed transaction. Hash string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
A message that wraps protocol-specific transactions, and provides additional payloads that enable the transaction to be signed and broadcast.
func (*Transaction) Descriptor
deprecated
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetHash ¶
func (x *Transaction) GetHash() string
func (*Transaction) GetInput ¶
func (x *Transaction) GetInput() *TransactionInput
func (*Transaction) GetRawSignedTransaction ¶
func (x *Transaction) GetRawSignedTransaction() []byte
func (*Transaction) GetRequiredSignatures ¶
func (x *Transaction) GetRequiredSignatures() []*RequiredSignature
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) ProtoReflect ¶
func (x *Transaction) ProtoReflect() protoreflect.Message
func (*Transaction) Reset ¶
func (x *Transaction) Reset()
func (*Transaction) String ¶
func (x *Transaction) String() string
type TransactionFee ¶
type TransactionFee struct { // The fee to be paid. // // Types that are assignable to Fee: // *TransactionFee_EthereumFee Fee isTransactionFee_Fee `protobuf_oneof:"fee"` // contains filtered or unexported fields }
A message representing the fee to be paid for a transaction.
func (*TransactionFee) Descriptor
deprecated
func (*TransactionFee) Descriptor() ([]byte, []int)
Deprecated: Use TransactionFee.ProtoReflect.Descriptor instead.
func (*TransactionFee) GetEthereumFee ¶
func (x *TransactionFee) GetEthereumFee() *v1.DynamicFeeInput
func (*TransactionFee) GetFee ¶
func (m *TransactionFee) GetFee() isTransactionFee_Fee
func (*TransactionFee) ProtoMessage ¶
func (*TransactionFee) ProtoMessage()
func (*TransactionFee) ProtoReflect ¶
func (x *TransactionFee) ProtoReflect() protoreflect.Message
func (*TransactionFee) Reset ¶
func (x *TransactionFee) Reset()
func (*TransactionFee) String ¶
func (x *TransactionFee) String() string
type TransactionFee_EthereumFee ¶
type TransactionFee_EthereumFee struct { // An EIP-1559 fee on EVM networks. EthereumFee *v1.DynamicFeeInput `protobuf:"bytes,1,opt,name=ethereum_fee,json=ethereumFee,proto3,oneof"` }
type TransactionInput ¶
type TransactionInput struct { // Types that are assignable to Input: // *TransactionInput_EthereumRlpInput // *TransactionInput_Ethereum_1559Input Input isTransactionInput_Input `protobuf_oneof:"input"` // contains filtered or unexported fields }
A message that contains each of the different transaction types we support.
func (*TransactionInput) Descriptor
deprecated
func (*TransactionInput) Descriptor() ([]byte, []int)
Deprecated: Use TransactionInput.ProtoReflect.Descriptor instead.
func (*TransactionInput) GetEthereumRlpInput ¶
func (x *TransactionInput) GetEthereumRlpInput() *v1.RLPTransaction
func (*TransactionInput) GetEthereum_1559Input ¶
func (x *TransactionInput) GetEthereum_1559Input() *v1.EIP1559TransactionInput
func (*TransactionInput) GetInput ¶
func (m *TransactionInput) GetInput() isTransactionInput_Input
func (*TransactionInput) ProtoMessage ¶
func (*TransactionInput) ProtoMessage()
func (*TransactionInput) ProtoReflect ¶
func (x *TransactionInput) ProtoReflect() protoreflect.Message
func (*TransactionInput) Reset ¶
func (x *TransactionInput) Reset()
func (*TransactionInput) String ¶
func (x *TransactionInput) String() string
type TransactionInput_EthereumRlpInput ¶
type TransactionInput_EthereumRlpInput struct { // An Ethereum RLP transaction. EthereumRlpInput *v1.RLPTransaction `protobuf:"bytes,1,opt,name=ethereum_rlp_input,json=ethereumRlpInput,proto3,oneof"` }
type TransactionInput_Ethereum_1559Input ¶
type TransactionInput_Ethereum_1559Input struct { // An EIP-1559 transaction. Ethereum_1559Input *v1.EIP1559TransactionInput `protobuf:"bytes,2,opt,name=ethereum_1559_input,json=ethereum1559Input,proto3,oneof"` }
Click to show internal directories.
Click to hide internal directories.