feat: change ClientResponse.result struct
This commit is contained in:
parent
f46b1a08ee
commit
93d969ce86
@ -11,7 +11,7 @@ type ClientResponse[T any] struct {
|
|||||||
NeedSeq bool `json:"needSeq,omitempty"`
|
NeedSeq bool `json:"needSeq,omitempty"`
|
||||||
Seq int `json:"seq,omitempty"`
|
Seq int `json:"seq,omitempty"`
|
||||||
Status string `json:"status,omitempty"`
|
Status string `json:"status,omitempty"`
|
||||||
Result any `json:"result,omitempty"`
|
Result T `json:"result,omitempty"`
|
||||||
IsInsnLimit bool `json:"isInsnLimit,omitempty"`
|
IsInsnLimit bool `json:"isInsnLimit,omitempty"`
|
||||||
TotalGas int `json:"totalGas,omitempty"`
|
TotalGas int `json:"totalGas,omitempty"`
|
||||||
ExecutionGas int `json:"executionGas,omitempty"`
|
ExecutionGas int `json:"executionGas,omitempty"`
|
||||||
|
Loading…
Reference in New Issue
Block a user