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

Type declaration

  • Optionalbalance?: Hex

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

  • Optionalcode?: Hex

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

  • Optionalnonce?: Hex

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

  • Optionalstate?: RpcStateMapping

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

  • OptionalstateDiff?: RpcStateMapping

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