Skip to main content

ArgumentInterface

type ArgumentInterface

An argument to a programmable transaction command

BCS

The BCS serialized form for this type is defined by the following ABNF:

```text argument = argument-gas =/ argument-input =/ argument-result =/ argument-nested-result

argument-gas = %d00 argument-input = %d01 u16 argument-result = %d02 u16 argument-nested-result = %d03 u16 u16 ```

type ArgumentInterface interface {
// Get the nested result for this result at the given index. Returns None
// if this is not a Result.
GetNestedResult(ix uint16) **Argument
}