isNullRef
isNullRef(
ref):boolean
Checks if a computation reference is null (all zeros).
Parameters
| Parameter | Type | Description |
|---|---|---|
ref | { accs: object[]; computationOffset: BN; priorityFee: BN; } | The computation reference to check |
ref.accs | object[] | - |
ref.computationOffset | BN | - |
ref.priorityFee | BN | - |
Returns
boolean
true if the reference is null, false otherwise