sponsoring
fun sponsoring(sponsorAccount: AccountKeyPair, sponsoredAccount: AccountKeyPair? = null, body: SponsoringBuilder.() -> SponsoringBuilder): TransactionBuilder
Content copied to clipboard
Start a sponsoring block
Return
Receiver
Parameters
sponsor Account
account that will be used to sponsor all operations inside the block
sponsored Account
account that is sponsored and will be used as a source account of all operations inside the block. If not specified, defaults to builder's sourceAddress.
body
main code block, that contains logic of operations sponsoring