Function decodeAccountWithRemaining
- decodeAccountWithRemaining<A, D, R, IDL>(account, program, accountClass, remainingDataFunc): DecodedAccountData<A>
-
Parameters
-
account: KeyedAccountInfo
-
-
accountClass: AccountStatic<A, IDL> & (new (data, key, remainingData) => A)
-
remainingDataFunc: ((remainingData, data) => R)
-
- (remainingData, data): R
-
Parameters
-
remainingData: Buffer
-
data: D
Returns R