getAppArgsForABICall
getAppArgsForABICall(
args,from):Promise<{appAccounts:undefined|string[];appForeignApps:undefined|number[];appForeignAssets:undefined|number[];boxes:undefined|BoxReference[];lease:undefined|Uint8Array;method:ABIMethod;methodArgs: (string|number|bigint|boolean|Uint8Array|ABIValue[] |TransactionWithSigner)[];rekeyTo:undefined|string;sender:string;signer:TransactionSigner; }>
Defined in: src/app.ts:378
Parameters
args
ABIAppCallArgs
The ABI app call args
from
SendTransactionFrom
The transaction signer
Returns
Promise<{ appAccounts: undefined | string[]; appForeignApps: undefined | number[]; appForeignAssets: undefined | number[]; boxes: undefined | BoxReference[]; lease: undefined | Uint8Array; method: ABIMethod; methodArgs: (string | number | bigint | boolean | Uint8Array | ABIValue[] | TransactionWithSigner)[]; rekeyTo: undefined | string; sender: string; signer: TransactionSigner; }>
The parameters ready to pass into addMethodCall within AtomicTransactionComposer