github.com/algorand/go-algorand-sdk@v1.24.0/client/v2/common/models/dryrun_request.go (about) 1 package models 2 3 import "github.com/algorand/go-algorand-sdk/types" 4 5 // DryrunRequest request data type for dryrun endpoint. Given the Transactions and 6 // simulated ledger state upload, run TEAL scripts and return debugging 7 // information. 8 type DryrunRequest struct { 9 // Accounts 10 Accounts []Account `json:"accounts"` 11 12 // Apps 13 Apps []Application `json:"apps"` 14 15 // LatestTimestamp latestTimestamp is available to some TEAL scripts. Defaults to 16 // the latest confirmed timestamp this algod is attached to. 17 LatestTimestamp uint64 `json:"latest-timestamp"` 18 19 // ProtocolVersion protocolVersion specifies a specific version string to operate 20 // under, otherwise whatever the current protocol of the network this algod is 21 // running in. 22 ProtocolVersion string `json:"protocol-version"` 23 24 // Round round is available to some TEAL scripts. Defaults to the current round on 25 // the network this algod is attached to. 26 Round uint64 `json:"round"` 27 28 // Sources 29 Sources []DryrunSource `json:"sources"` 30 31 // Txns 32 Txns []types.SignedTxn `json:"txns"` 33 }