How to identify type of global state delta in app call txn

Look at “Application Global State Delta” in the below transaction:
https://testnet.algoexplorer.io/tx/WVETVCUNKZQL546CIRLDAAFMUR4DAEWTCOGNN2OJWFUMUP5YTOHQ

This is what we get in txn json object for global state delta:

export interface A_GlobalStateDelta {
    key: string
    value: {
        bytes: string
        action: number
        uint: number
    }
}

This doesn’t have “type” in the value object.
Also, what is the significance of “action” in the value?

The types are described here for action

and here for teal type

2 Likes