PTB argument for the deferred Account object.
PTB argument for the AccountCap with admin authority.
Collateral coin type parameter for the account.
PTB argument for the AccountSharePolicy object.
OptionalsponsorOptional cached gas-pool sponsorship data.
OptionaltxOptional serialized transaction kind to extend.
Request body for sharing a Perpetuals account that was created with deferred sharing.
This finalizes the account creation flow by consuming the
AccountSharePolicyand sharing theAccountobject.The deferred account fields (
accountArg,sharePolicyArg,adminCapArg,collateralCoinType) are sent as top-level fields (matching the API's flattened layout).Example flow
create-accountwithdeferShare=true→ returnsdeferredwith argument referencesgrant-agent-walletwithdeferred→ mints assistant captransfer-capwithcomposed→ transfers admin cap to primary walletsharewith deferred fields → finalizes account sharing