setBuilderCode method

Transaction setBuilderCode(
  1. String owner,
  2. String builderCodeId
)

Set the account's sticky builder-code attribution to builderCodeId, an existing BuilderCode object borrowed as &BuilderCode. Command order is auth → set (auth is a hot potato consumed by this call). Lives in the PREDICT package's predict_account module, NOT the account package.

Implementation

Transaction setBuilderCode(String owner, String builderCodeId) =>
    _txOf(authed.setBuilderCode(
      config: _c._config,
      wrapper: _c.wrapperIdFor(owner),
      code: builderCodeId,
    ));