Name | Type | Description | Notes |
---|---|---|---|
Tx | Transaction | ||
Status | TransactionStatus | ||
From | string | An ethereum address. | |
ResubmissionAttempts | int64 | The total number of resubmission attempts. | |
SuccessfulResubmissions | int64 | The total number of successful resubmission (added into the transaction pool). | |
CreatedAt | time.Time | The time the transaction was created. | |
UpdatedAt | time.Time | The time the transaction was last updated. | |
Failed | Pointer to bool | Whether the transaction failed when it was included in a block. | [optional] |
BlockNumber | Pointer to int64 | The block number that the transaction was included in. | [optional] |
BlockHash | Pointer to string | The keccak256 hash as a hex string of 256 bits. | [optional] |
func NewWalletTransaction(tx Transaction, status TransactionStatus, from string, resubmissionAttempts int64, successfulResubmissions int64, createdAt time.Time, updatedAt time.Time, ) *WalletTransaction
NewWalletTransaction instantiates a new WalletTransaction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewWalletTransactionWithDefaults() *WalletTransaction
NewWalletTransactionWithDefaults instantiates a new WalletTransaction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *WalletTransaction) GetTx() Transaction
GetTx returns the Tx field if non-nil, zero value otherwise.
func (o *WalletTransaction) GetTxOk() (*Transaction, bool)
GetTxOk returns a tuple with the Tx field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WalletTransaction) SetTx(v Transaction)
SetTx sets Tx field to given value.
func (o *WalletTransaction) GetStatus() TransactionStatus
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *WalletTransaction) GetStatusOk() (*TransactionStatus, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WalletTransaction) SetStatus(v TransactionStatus)
SetStatus sets Status field to given value.
func (o *WalletTransaction) GetFrom() string
GetFrom returns the From field if non-nil, zero value otherwise.
func (o *WalletTransaction) GetFromOk() (*string, bool)
GetFromOk returns a tuple with the From field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WalletTransaction) SetFrom(v string)
SetFrom sets From field to given value.
func (o *WalletTransaction) GetResubmissionAttempts() int64
GetResubmissionAttempts returns the ResubmissionAttempts field if non-nil, zero value otherwise.
func (o *WalletTransaction) GetResubmissionAttemptsOk() (*int64, bool)
GetResubmissionAttemptsOk returns a tuple with the ResubmissionAttempts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WalletTransaction) SetResubmissionAttempts(v int64)
SetResubmissionAttempts sets ResubmissionAttempts field to given value.
func (o *WalletTransaction) GetSuccessfulResubmissions() int64
GetSuccessfulResubmissions returns the SuccessfulResubmissions field if non-nil, zero value otherwise.
func (o *WalletTransaction) GetSuccessfulResubmissionsOk() (*int64, bool)
GetSuccessfulResubmissionsOk returns a tuple with the SuccessfulResubmissions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WalletTransaction) SetSuccessfulResubmissions(v int64)
SetSuccessfulResubmissions sets SuccessfulResubmissions field to given value.
func (o *WalletTransaction) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *WalletTransaction) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WalletTransaction) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *WalletTransaction) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *WalletTransaction) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WalletTransaction) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *WalletTransaction) GetFailed() bool
GetFailed returns the Failed field if non-nil, zero value otherwise.
func (o *WalletTransaction) GetFailedOk() (*bool, bool)
GetFailedOk returns a tuple with the Failed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WalletTransaction) SetFailed(v bool)
SetFailed sets Failed field to given value.
func (o *WalletTransaction) HasFailed() bool
HasFailed returns a boolean if a field has been set.
func (o *WalletTransaction) GetBlockNumber() int64
GetBlockNumber returns the BlockNumber field if non-nil, zero value otherwise.
func (o *WalletTransaction) GetBlockNumberOk() (*int64, bool)
GetBlockNumberOk returns a tuple with the BlockNumber field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WalletTransaction) SetBlockNumber(v int64)
SetBlockNumber sets BlockNumber field to given value.
func (o *WalletTransaction) HasBlockNumber() bool
HasBlockNumber returns a boolean if a field has been set.
func (o *WalletTransaction) GetBlockHash() string
GetBlockHash returns the BlockHash field if non-nil, zero value otherwise.
func (o *WalletTransaction) GetBlockHashOk() (*string, bool)
GetBlockHashOk returns a tuple with the BlockHash field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WalletTransaction) SetBlockHash(v string)
SetBlockHash sets BlockHash field to given value.
func (o *WalletTransaction) HasBlockHash() bool
HasBlockHash returns a boolean if a field has been set.