RpcAccountStateOverride: {
    balance?: Hex;
    code?: Hex;
    nonce?: Hex;
    state?: RpcStateMapping;
    stateDiff?: RpcStateMapping;
}

Type declaration

  • Optional balance?: Hex

    Fake balance to set for the account before executing the call. <32 bytes

  • Optional code?: Hex

    Fake EVM bytecode to inject into the account before executing the call.

  • Optional nonce?: Hex

    Fake nonce to set for the account before executing the call. <8 bytes

  • Optional state?: RpcStateMapping

    Fake key-value mapping to override all slots in the account storage before executing the call.

  • Optional stateDiff?: RpcStateMapping

    Fake key-value mapping to override individual slots in the account storage before executing the call.