File tree Expand file tree Collapse file tree
rust/crates/truapi-codegen/src/ts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,6 +45,12 @@ declare global {
4545 }): Observable<ChainHeadCtx>;
4646 /** Resolve a DotNS username to the owning raw AccountId32 hex string. Defaults to truapi.account.getUserId(). */
4747 function accountIdForDotNsUsername(username?: string): Promise<import("neverthrow").Result<`0x${string}`, Error>>;
48+ /** Build a metadata-backed product-account transaction payload for `truapi.signing.createTransaction`. */
49+ function buildCreateTransactionPayload(opts: {
50+ signer: import("@parity/truapi").ProductAccountId;
51+ genesisHash: `0x${string}`;
52+ callData: `0x${string}`;
53+ }): Promise<import("neverthrow").Result<import("@parity/truapi").ProductAccountTxPayload, Error>>;
4854 /**
4955 * Assert a condition, throwing when it does not hold. Examples signal
5056 * failure explicitly with `assert(...)`; the playground's diagnosis marks
You can’t perform that action at this time.
0 commit comments