v1

package
v1.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2023 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_coinbase_cloud_protocols_ethereum_v1_inputs_proto protoreflect.FileDescriptor
View Source
var File_coinbase_cloud_protocols_ethereum_v1_outputs_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DynamicFeeInput

type DynamicFeeInput struct {

	// The EIP-1559 maximum priority fee per gas either as a "0x"-prefixed hex string or a base-10 number.
	MaxPriorityFeePerGas string `` /* 127-byte string literal not displayed */
	// The EIP-1559 maximum fee per gas either as a "0x"-prefixed hex string or a base-10 number.
	MaxFeePerGas string `protobuf:"bytes,2,opt,name=max_fee_per_gas,json=maxFeePerGas,proto3" json:"max_fee_per_gas,omitempty"`
	// contains filtered or unexported fields
}

A message representing fee information on EIP-1559 supported networks.

func (*DynamicFeeInput) Descriptor deprecated

func (*DynamicFeeInput) Descriptor() ([]byte, []int)

Deprecated: Use DynamicFeeInput.ProtoReflect.Descriptor instead.

func (*DynamicFeeInput) GetMaxFeePerGas

func (x *DynamicFeeInput) GetMaxFeePerGas() string

func (*DynamicFeeInput) GetMaxPriorityFeePerGas

func (x *DynamicFeeInput) GetMaxPriorityFeePerGas() string

func (*DynamicFeeInput) ProtoMessage

func (*DynamicFeeInput) ProtoMessage()

func (*DynamicFeeInput) ProtoReflect

func (x *DynamicFeeInput) ProtoReflect() protoreflect.Message

func (*DynamicFeeInput) Reset

func (x *DynamicFeeInput) Reset()

func (*DynamicFeeInput) String

func (x *DynamicFeeInput) String() string

type EIP1559TransactionInput

type EIP1559TransactionInput struct {

	// The chain ID of the transaction either as a "0x"-prefixed hex string or a base-10 number.
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// The nonce of the transaction. This value may be ignored depending on the API.
	Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// The EIP-1559 maximum priority fee per gas either as a "0x"-prefixed hex string or a base-10 number.
	MaxPriorityFeePerGas string `` /* 127-byte string literal not displayed */
	// The EIP-1559 maximum fee per gas either as a "0x"-prefixed hex string or a base-10 number.
	MaxFeePerGas string `protobuf:"bytes,4,opt,name=max_fee_per_gas,json=maxFeePerGas,proto3" json:"max_fee_per_gas,omitempty"`
	// The maximum amount of gas to use on the transaction.
	Gas uint64 `protobuf:"varint,5,opt,name=gas,proto3" json:"gas,omitempty"`
	// The checksummed address from which the transaction will originate, as a "0x"-prefixed hex string.
	// Note: This is NOT a WaaS Address resource of the form
	// networks/{networkID}/addresses/{addressID}.
	FromAddress string `protobuf:"bytes,6,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
	// The checksummed address to which the transaction is addressed, as a "0x"-prefixed hex string.
	// Note: This is NOT a WaaS Address resource of the form
	// networks/{networkID}/addresses/{addressID}.
	ToAddress string `protobuf:"bytes,7,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	// The native value of the transaction as a "0x"-prefixed hex string or a base-10 number.
	Value string `protobuf:"bytes,8,opt,name=value,proto3" json:"value,omitempty"`
	// The data for the transaction.
	Data []byte `protobuf:"bytes,9,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

A message representing an EIP-1559 transaction input.

func (*EIP1559TransactionInput) Descriptor deprecated

func (*EIP1559TransactionInput) Descriptor() ([]byte, []int)

Deprecated: Use EIP1559TransactionInput.ProtoReflect.Descriptor instead.

func (*EIP1559TransactionInput) GetChainId

func (x *EIP1559TransactionInput) GetChainId() string

func (*EIP1559TransactionInput) GetData

func (x *EIP1559TransactionInput) GetData() []byte

func (*EIP1559TransactionInput) GetFromAddress

func (x *EIP1559TransactionInput) GetFromAddress() string

func (*EIP1559TransactionInput) GetGas

func (x *EIP1559TransactionInput) GetGas() uint64

func (*EIP1559TransactionInput) GetMaxFeePerGas

func (x *EIP1559TransactionInput) GetMaxFeePerGas() string

func (*EIP1559TransactionInput) GetMaxPriorityFeePerGas

func (x *EIP1559TransactionInput) GetMaxPriorityFeePerGas() string

func (*EIP1559TransactionInput) GetNonce

func (x *EIP1559TransactionInput) GetNonce() uint64

func (*EIP1559TransactionInput) GetToAddress

func (x *EIP1559TransactionInput) GetToAddress() string

func (*EIP1559TransactionInput) GetValue

func (x *EIP1559TransactionInput) GetValue() string

func (*EIP1559TransactionInput) ProtoMessage

func (*EIP1559TransactionInput) ProtoMessage()

func (*EIP1559TransactionInput) ProtoReflect

func (x *EIP1559TransactionInput) ProtoReflect() protoreflect.Message

func (*EIP1559TransactionInput) Reset

func (x *EIP1559TransactionInput) Reset()

func (*EIP1559TransactionInput) String

func (x *EIP1559TransactionInput) String() string

type FeeEstimate

type FeeEstimate struct {

	// The estimated legacy gas price denominated in atomic units of the native asset
	// as a "0x"-prefixed hex string.
	GasPrice string `protobuf:"bytes,1,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
	// The estimated max fee per gas (EIP-1559) denominated in atomic units of the asset
	// as a "0x"-prefixed hex string.
	MaxFeePerGas string `protobuf:"bytes,2,opt,name=max_fee_per_gas,json=maxFeePerGas,proto3" json:"max_fee_per_gas,omitempty"`
	// The estimated max priority fee per gas (EIP-1559) denominated in atomic units of
	// the native asset as a "0x"-prefixed hex string.
	MaxPriorityFeePerGas string `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

A message representing a fee estimate on an Ethereum-like network.

func (*FeeEstimate) Descriptor deprecated

func (*FeeEstimate) Descriptor() ([]byte, []int)

Deprecated: Use FeeEstimate.ProtoReflect.Descriptor instead.

func (*FeeEstimate) GetGasPrice

func (x *FeeEstimate) GetGasPrice() string

func (*FeeEstimate) GetMaxFeePerGas

func (x *FeeEstimate) GetMaxFeePerGas() string

func (*FeeEstimate) GetMaxPriorityFeePerGas

func (x *FeeEstimate) GetMaxPriorityFeePerGas() string

func (*FeeEstimate) ProtoMessage

func (*FeeEstimate) ProtoMessage()

func (*FeeEstimate) ProtoReflect

func (x *FeeEstimate) ProtoReflect() protoreflect.Message

func (*FeeEstimate) Reset

func (x *FeeEstimate) Reset()

func (*FeeEstimate) String

func (x *FeeEstimate) String() string

type RLPTransaction

type RLPTransaction struct {

	// The sender address as a hexadecimal string, prefixed with 0x.
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	// The RLP-encoded transaction as a byte array.
	// See https://github.com/ethereum/go-ethereum/blob/master/rlp/encode.go for an implementation.
	TransactionRlp []byte `protobuf:"bytes,2,opt,name=transaction_rlp,json=transactionRlp,proto3" json:"transaction_rlp,omitempty"`
	// contains filtered or unexported fields
}

A message representing a transaction encoded using Recursive-Length Prefix (RLP) Serialization. See https://ethereum.org/en/developers/docs/data-structures-and-encoding/rlp/ for more details.

func (*RLPTransaction) Descriptor deprecated

func (*RLPTransaction) Descriptor() ([]byte, []int)

Deprecated: Use RLPTransaction.ProtoReflect.Descriptor instead.

func (*RLPTransaction) GetSender

func (x *RLPTransaction) GetSender() string

func (*RLPTransaction) GetTransactionRlp

func (x *RLPTransaction) GetTransactionRlp() []byte

func (*RLPTransaction) ProtoMessage

func (*RLPTransaction) ProtoMessage()

func (*RLPTransaction) ProtoReflect

func (x *RLPTransaction) ProtoReflect() protoreflect.Message

func (*RLPTransaction) Reset

func (x *RLPTransaction) Reset()

func (*RLPTransaction) String

func (x *RLPTransaction) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL