The lock to fund.
The sender account that submits the transaction.
The operation details excluding the lock id.
The signer used to sign the transaction.
Optional metadata: LockUpdateMetadataOptional transaction metadata such as expiry and nonce.
Optional validation behavior.
Generated using TypeDoc
Fund a lock with tokens from the sender account.
Returns
The hash of the submitted transaction.
Throws
If
options.validateistrueand the lock has expired.Throws
If
options.validateistrueand the sender does not have thefundcapability.Throws
If
options.validateistrueand the token is not configured on the lock.Throws
If
options.validateistrueand the sender does not have enough available balance of the token.