Protected
Readonly
metaplexCreates a new uninitialized Solana account.
const transactionBuilder = await metaplex
.system()
.builders()
.createAccount({ space: 100 }); // 100 bytes
Note that accessing this transaction builder is asynchronous because we may need to contact the cluster to get the rent-exemption for the provided space.
Optional
options: TransactionBuilderOptionsTransfers some SOL from one account to another.
const transactionBuilder = metaplex
.system()
.builders()
.transferSol({
to: new PublicKey("..."),
amount: sol(1.5),
});
@group Transaction Builders @category Constructors
Optional
options: TransactionBuilderOptionsGenerated using TypeDoc
This client allows you to access the underlying Transaction Builders for the write operations of the System module.
See
SystemClient