Skip to main content

accountBodyToRLP

Callable


  • Converts a slim account (per snap protocol spec) to the RLP encoded version of the account


    Parameters

    • body: AccountBodyBuffer

      Array of 4 Buffer-like items to represent the account

    • couldBeSlim: boolean = true

    Returns Buffer

    RLP encoded version of the account