Docs.rs
solders-compute-budget-0.21.0
solders-compute-budget 0.21.0
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
kevinheavey
Dependencies
pyo3 ^0.20.2
normal
solana-sdk ^1.18.1
normal
solders-instruction =0.21.0
normal
solders-pubkey =0.21.0
normal
Versions
60%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Crate solders_compute_budget
solders_
compute_
budget
0.21.0
All Items
Crate Items
Functions
Crate
solders_
compute_
budget
Copy item path
Source
Functions
§
create_
compute_
budget_
mod
request_
heap_
frame
Request a specific transaction-wide program heap region size in bytes. The value requested must be a multiple of 1024. This new heap region size applies to each program executed in the transaction, including all calls to CPIs.
set_
compute_
unit_
limit
Set a specific compute unit limit that the transaction is allowed to consume.
set_
compute_
unit_
price
Set a compute unit price in “micro-lamports” to pay a higher transaction fee for higher transaction prioritization.