add instr sol transfer and cufee
This commit is contained in:
25
tx.go
25
tx.go
@@ -45,15 +45,24 @@ type mevInfo struct {
|
||||
MevAgentFee decimal.Decimal
|
||||
}
|
||||
|
||||
type SolTransfer struct {
|
||||
From solana.PublicKey
|
||||
To solana.PublicKey
|
||||
Amount decimal.Decimal
|
||||
}
|
||||
|
||||
type Tx struct {
|
||||
rawTx *RawTx
|
||||
Signer solana.PublicKey
|
||||
Err interface{} `json:"err,omitempty"`
|
||||
Swaps []Swap `json:"swaps,omitempty"`
|
||||
Block uint64 `json:"block"`
|
||||
BlockIndex uint64 `json:"index"`
|
||||
TxHash *[64]byte `json:"-"`
|
||||
BlockAt int64 `json:"block_at"`
|
||||
rawTx *RawTx
|
||||
Signer solana.PublicKey
|
||||
Err interface{} `json:"err,omitempty"`
|
||||
Swaps []Swap `json:"swaps,omitempty"`
|
||||
SolTransfer []SolTransfer `json:"sol_transfer,omitempty"`
|
||||
Block uint64 `json:"block"`
|
||||
BlockIndex uint64 `json:"index"`
|
||||
TxHash *[64]byte `json:"-"`
|
||||
BlockAt int64 `json:"block_at"`
|
||||
|
||||
CuFee decimal.Decimal `json:"cu_fee"`
|
||||
|
||||
cachedTxHash string
|
||||
|
||||
|
||||
Reference in New Issue
Block a user