Function findComputeUnitConsumption
- findComputeUnitConsumption(programId: PublicKey, connection: Connection, txSignature: string, commitment?: Finality): Promise<number[]>
-
Parameters
-
-
connection: Connection
-
txSignature: string
-
commitment: Finality = 'confirmed'
Returns Promise<number[]>