setTransactionMessageComputeUnitPrice
Sets the compute unit price of a transaction message in micro-Lamports.
Example
Type Parameters
Type Parameter |
---|
TTransactionMessage extends Readonly <{ instructions : readonly IInstruction <string , readonly (IAccountLookupMeta <string , string > | IAccountMeta <string >)[]>[]; version : TransactionVersion ; }> |
Parameters
Parameter | Type |
---|---|
microLamports | number | bigint |
transactionMessage | TTransactionMessage |
Returns
TTransactionMessage