Buy Space
Buying space using the Rust SDK is simple. Bring the StorageHandler
trait into scope and call the buy_space
function with an integer value. The parameter represents the amount of space to buy in GB.
Please note that buying space is a one-time process; consecutive purchases using the same account will result in a transaction failure. After purchase, the space can only be expanded or renewed.
Last updated