Skip to content

Latest commit

 

History

History
306 lines (165 loc) · 8.64 KB

File metadata and controls

306 lines (165 loc) · 8.64 KB

BuildExecuteScriptTx

Properties

Name Type Description Notes
FromPublicKey string
FromPublicKeyType Pointer to string [optional]
Bytecode string
AttoAlphAmount Pointer to string [optional]
Tokens Pointer to []Token [optional]
GasAmount Pointer to int32 [optional]
GasPrice Pointer to string [optional]
TargetBlockHash Pointer to string [optional]
Group Pointer to int32 [optional]
GasEstimationMultiplier Pointer to float64 [optional]
DustAmount Pointer to string [optional]

Methods

NewBuildExecuteScriptTx

func NewBuildExecuteScriptTx(fromPublicKey string, bytecode string, ) *BuildExecuteScriptTx

NewBuildExecuteScriptTx instantiates a new BuildExecuteScriptTx 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

NewBuildExecuteScriptTxWithDefaults

func NewBuildExecuteScriptTxWithDefaults() *BuildExecuteScriptTx

NewBuildExecuteScriptTxWithDefaults instantiates a new BuildExecuteScriptTx 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

GetFromPublicKey

func (o *BuildExecuteScriptTx) GetFromPublicKey() string

GetFromPublicKey returns the FromPublicKey field if non-nil, zero value otherwise.

GetFromPublicKeyOk

func (o *BuildExecuteScriptTx) GetFromPublicKeyOk() (*string, bool)

GetFromPublicKeyOk returns a tuple with the FromPublicKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFromPublicKey

func (o *BuildExecuteScriptTx) SetFromPublicKey(v string)

SetFromPublicKey sets FromPublicKey field to given value.

GetFromPublicKeyType

func (o *BuildExecuteScriptTx) GetFromPublicKeyType() string

GetFromPublicKeyType returns the FromPublicKeyType field if non-nil, zero value otherwise.

GetFromPublicKeyTypeOk

func (o *BuildExecuteScriptTx) GetFromPublicKeyTypeOk() (*string, bool)

GetFromPublicKeyTypeOk returns a tuple with the FromPublicKeyType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFromPublicKeyType

func (o *BuildExecuteScriptTx) SetFromPublicKeyType(v string)

SetFromPublicKeyType sets FromPublicKeyType field to given value.

HasFromPublicKeyType

func (o *BuildExecuteScriptTx) HasFromPublicKeyType() bool

HasFromPublicKeyType returns a boolean if a field has been set.

GetBytecode

func (o *BuildExecuteScriptTx) GetBytecode() string

GetBytecode returns the Bytecode field if non-nil, zero value otherwise.

GetBytecodeOk

func (o *BuildExecuteScriptTx) GetBytecodeOk() (*string, bool)

GetBytecodeOk returns a tuple with the Bytecode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBytecode

func (o *BuildExecuteScriptTx) SetBytecode(v string)

SetBytecode sets Bytecode field to given value.

GetAttoAlphAmount

func (o *BuildExecuteScriptTx) GetAttoAlphAmount() string

GetAttoAlphAmount returns the AttoAlphAmount field if non-nil, zero value otherwise.

GetAttoAlphAmountOk

func (o *BuildExecuteScriptTx) GetAttoAlphAmountOk() (*string, bool)

GetAttoAlphAmountOk returns a tuple with the AttoAlphAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAttoAlphAmount

func (o *BuildExecuteScriptTx) SetAttoAlphAmount(v string)

SetAttoAlphAmount sets AttoAlphAmount field to given value.

HasAttoAlphAmount

func (o *BuildExecuteScriptTx) HasAttoAlphAmount() bool

HasAttoAlphAmount returns a boolean if a field has been set.

GetTokens

func (o *BuildExecuteScriptTx) GetTokens() []Token

GetTokens returns the Tokens field if non-nil, zero value otherwise.

GetTokensOk

func (o *BuildExecuteScriptTx) GetTokensOk() (*[]Token, bool)

GetTokensOk returns a tuple with the Tokens field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTokens

func (o *BuildExecuteScriptTx) SetTokens(v []Token)

SetTokens sets Tokens field to given value.

HasTokens

func (o *BuildExecuteScriptTx) HasTokens() bool

HasTokens returns a boolean if a field has been set.

GetGasAmount

func (o *BuildExecuteScriptTx) GetGasAmount() int32

GetGasAmount returns the GasAmount field if non-nil, zero value otherwise.

GetGasAmountOk

func (o *BuildExecuteScriptTx) GetGasAmountOk() (*int32, bool)

GetGasAmountOk returns a tuple with the GasAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetGasAmount

func (o *BuildExecuteScriptTx) SetGasAmount(v int32)

SetGasAmount sets GasAmount field to given value.

HasGasAmount

func (o *BuildExecuteScriptTx) HasGasAmount() bool

HasGasAmount returns a boolean if a field has been set.

GetGasPrice

func (o *BuildExecuteScriptTx) GetGasPrice() string

GetGasPrice returns the GasPrice field if non-nil, zero value otherwise.

GetGasPriceOk

func (o *BuildExecuteScriptTx) GetGasPriceOk() (*string, bool)

GetGasPriceOk returns a tuple with the GasPrice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetGasPrice

func (o *BuildExecuteScriptTx) SetGasPrice(v string)

SetGasPrice sets GasPrice field to given value.

HasGasPrice

func (o *BuildExecuteScriptTx) HasGasPrice() bool

HasGasPrice returns a boolean if a field has been set.

GetTargetBlockHash

func (o *BuildExecuteScriptTx) GetTargetBlockHash() string

GetTargetBlockHash returns the TargetBlockHash field if non-nil, zero value otherwise.

GetTargetBlockHashOk

func (o *BuildExecuteScriptTx) GetTargetBlockHashOk() (*string, bool)

GetTargetBlockHashOk returns a tuple with the TargetBlockHash field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTargetBlockHash

func (o *BuildExecuteScriptTx) SetTargetBlockHash(v string)

SetTargetBlockHash sets TargetBlockHash field to given value.

HasTargetBlockHash

func (o *BuildExecuteScriptTx) HasTargetBlockHash() bool

HasTargetBlockHash returns a boolean if a field has been set.

GetGroup

func (o *BuildExecuteScriptTx) GetGroup() int32

GetGroup returns the Group field if non-nil, zero value otherwise.

GetGroupOk

func (o *BuildExecuteScriptTx) GetGroupOk() (*int32, bool)

GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetGroup

func (o *BuildExecuteScriptTx) SetGroup(v int32)

SetGroup sets Group field to given value.

HasGroup

func (o *BuildExecuteScriptTx) HasGroup() bool

HasGroup returns a boolean if a field has been set.

GetGasEstimationMultiplier

func (o *BuildExecuteScriptTx) GetGasEstimationMultiplier() float64

GetGasEstimationMultiplier returns the GasEstimationMultiplier field if non-nil, zero value otherwise.

GetGasEstimationMultiplierOk

func (o *BuildExecuteScriptTx) GetGasEstimationMultiplierOk() (*float64, bool)

GetGasEstimationMultiplierOk returns a tuple with the GasEstimationMultiplier field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetGasEstimationMultiplier

func (o *BuildExecuteScriptTx) SetGasEstimationMultiplier(v float64)

SetGasEstimationMultiplier sets GasEstimationMultiplier field to given value.

HasGasEstimationMultiplier

func (o *BuildExecuteScriptTx) HasGasEstimationMultiplier() bool

HasGasEstimationMultiplier returns a boolean if a field has been set.

GetDustAmount

func (o *BuildExecuteScriptTx) GetDustAmount() string

GetDustAmount returns the DustAmount field if non-nil, zero value otherwise.

GetDustAmountOk

func (o *BuildExecuteScriptTx) GetDustAmountOk() (*string, bool)

GetDustAmountOk returns a tuple with the DustAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDustAmount

func (o *BuildExecuteScriptTx) SetDustAmount(v string)

SetDustAmount sets DustAmount field to given value.

HasDustAmount

func (o *BuildExecuteScriptTx) HasDustAmount() bool

HasDustAmount returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]