Transaction<TTransactionType>: TTransactionType extends TransactionType
    ? Extract<PossibleTransactions, {
        type: TTransactionType;
    }>
    : Partial<Omit<TransactionScript, "type">> & Partial<Omit<TransactionCreate, "type">> & Partial<Omit<TransactionMint, "type">> & Partial<Omit<TransactionUpgrade, "type">> & Partial<Omit<TransactionUpload, "type">> & Partial<Omit<TransactionBlob, "type">> & {
        type: TransactionType;
    }

Type Parameters

  • TTransactionType = void