Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Create sponsored associated token accounts with a local signer.
createAccount()
const result = await gasStation.createAccount({ account: signer.address, signer, }) console.log(result.Signature)
const result = await gasStation.createAccount({ account: signer.address, tokens: [ '4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU', ], commitment: 'finalized', signer, })
await gasStation.createAccount( { account: signer.address, tokens: ['MINT_ADDRESS'], }, signer, )
account
signer.address
await gasStation.createAccount({ account: signer.address, tokens: ['MINT_ADDRESS'], signer, computeOptions: { computeUnitLimit: 400_000, computeUnitPriceMicroLamports: 1_000, }, })
Signature
Status
Message