Interface: AccountAdapter
Defined in: packages/core/src/types.ts:110Properties
model
Defined in: packages/core/src/types.ts:111readonlymodel:AccountModel
Methods
assembleSignedEntry()
assembleSignedEntry(Defined in: packages/core/src/types.ts:122 returns the SIGNED auth entry as base64 XDR.input):Promise<string>
Parameters
input
AssembleInput
Returns
Promise<string>
buildSessionInstallEntry()?
Defined in: packages/core/src/types.ts:126 Contract account model only: the UNSIGNED entry that installs a policy-scoped session signer (the account self-administers, authorized by the root signer at assemble time). Classic adapters omit it -> the session flow refuses with INVALID_CONFIG.optionalbuildSessionInstallEntry(input):SorobanAuthorizationEntry
Parameters
input
SessionInstallInput
Returns
SorobanAuthorizationEntry
buildSessionRevokeEntry()?
Defined in: packages/core/src/types.ts:128 Contract account model only: the UNSIGNED entry that revokes a session signer.optionalbuildSessionRevokeEntry(input):SorobanAuthorizationEntry
Parameters
input
SessionRevokeInput
Returns
SorobanAuthorizationEntry
buildUnsignedBatchEntry()
buildUnsignedBatchEntry(Defined in: packages/core/src/types.ts:120 Build ONE unsigned auth entry covering an atomic batch of calls. For N>1 it is the pinned Multicall router’sinput):SorobanAuthorizationEntry
batch_transfer(payer, token, Vec<(to, amount)>) invocation with the N
transfers as sub-invocations (one nonce, one signature for the whole batch - SAME shape for
classic and contract, only the signer differs). A batch of 1 MUST equal buildUnsignedEntry of
the same call (golden no-regression invariant).
Parameters
input
BuildBatchEntryInput
Returns
SorobanAuthorizationEntry
buildUnsignedEntry()
buildUnsignedEntry(Defined in: packages/core/src/types.ts:114input):SorobanAuthorizationEntry
Parameters
input
BuildEntryInput
Returns
SorobanAuthorizationEntry
ensureReady()
ensureReady(Defined in: packages/core/src/types.ts:113input):Promise<void>
Parameters
input
EnsureReadyInput
Returns
Promise<void>
resolveAddress()
resolveAddress(Defined in: packages/core/src/types.ts:112signer):Promise<string>
Parameters
signer
BuckspaySigner
Returns
Promise<string>
