near-api-js - v7.5.3
    Preparing search index...

    Type Alias UniversalStateInitAction

    Create a 0u universal account from its state init. The receiver id must equal derive_universal_account_id(state_init); the attached deposit covers the new account's storage staking.

    The state init travels as the bytes the producer serialized, because the receiver id commits to exactly those bytes. The typed [UniversalStateInit] is a decoded view of them, used where the state has to be installed or priced.

    type UniversalStateInitAction = {
        deposit: NearToken;
        state_init: RawStateInit;
    }
    Index
    deposit: NearToken
    state_init: RawStateInit